Add Powershell Modules & NuGet Repo/Install-App.ps1
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<#
|
||||
Author: Gabe Kerntke
|
||||
Date: 04-29-2026
|
||||
|
||||
.Synopsis
|
||||
Function to install the downloaded installer
|
||||
|
||||
.Modified
|
||||
2026-04-29 (GabeK) - Original script created
|
||||
#>
|
||||
|
||||
Set-StrictMode -Version 2.0
|
||||
|
||||
#Function to install the downloaded installer
|
||||
Function Install-App {
|
||||
$Install = Start-Process $Dest_File -ArgumentList $Install_Parameters -Wait -PassThru
|
||||
$ExitCode = ($Install).ExitCode
|
||||
Read-ExitCode -exitcode $ExitCode
|
||||
}
|
||||
Reference in New Issue
Block a user