Update App Install Scripts/App - Adobe Acrobat 64bit - Install.ps1
This commit is contained in:
@@ -45,8 +45,7 @@ Wait-Job $job -timeout $timeout | Out-Null
|
|||||||
$output = Receive-Job $job
|
$output = Receive-Job $job
|
||||||
$DownloadURL = $output
|
$DownloadURL = $output
|
||||||
|
|
||||||
# Script start #
|
#Region Script Start
|
||||||
|
|
||||||
If ((Test-Path "C:\Temp\Script Cache") -eq $False) { New-Item -ItemType directory -Path "C:\Temp\Script Cache" }
|
If ((Test-Path "C:\Temp\Script Cache") -eq $False) { New-Item -ItemType directory -Path "C:\Temp\Script Cache" }
|
||||||
Invoke-WebRequest -UseBasicParsing "https://scripts.gabesville.com/Gabesville/Powershell-Scripts/raw/branch/main/Functions%20Scripts/Functions.ps1" -outfile "C:\Temp\Script Cache\Functions.ps1"
|
Invoke-WebRequest -UseBasicParsing "https://scripts.gabesville.com/Gabesville/Powershell-Scripts/raw/branch/main/Functions%20Scripts/Functions.ps1" -outfile "C:\Temp\Script Cache\Functions.ps1"
|
||||||
. "C:\Temp\Script Cache\Functions.ps1"
|
. "C:\Temp\Script Cache\Functions.ps1"
|
||||||
@@ -67,4 +66,4 @@ Else {
|
|||||||
$EPCacheLocalLocation = "C:\Temp\Script Cache\Adobe Acrobat\setup.exe"
|
$EPCacheLocalLocation = "C:\Temp\Script Cache\Adobe Acrobat\setup.exe"
|
||||||
Install-App
|
Install-App
|
||||||
}
|
}
|
||||||
# Script End #
|
#Region Script End
|
||||||
Reference in New Issue
Block a user