Update Functions Scripts/Functions.ps1

This commit is contained in:
2025-08-08 17:32:35 +00:00
parent cef6cb4e8d
commit 4eda1c0a77
+1 -1
View File
@@ -62,7 +62,7 @@ Function Get-Software ($CPU = $ENV:PROCESSOR_ARCHITECTURE) {
#Function to test if communication with the probe is possible, and to donwload the installer
Function Test-Probe_MoveIT {
#Download PSCP.exe if it does not exist
If ((Test-Path $PSCPLOC) -eq $False) { Invoke-WebRequest -UseBasicParsing $PSCPURL | Out-File $PSCPLOC }
If ((Test-Path $PSCPLOC) -eq $False) { Invoke-WebRequest -UseBasicParsing $PSCPURL | Out-File $PSCPLOC -Force }
#(new-object System.Net.WebClient).DownloadFile($PSCPURL, $PSCPLOC) | Out-Null }
If ($null -eq $ENV:EPCacheSite) {