Update Functions Scripts/Functions.ps1
This commit is contained in:
@@ -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 to test if communication with the probe is possible, and to donwload the installer
|
||||||
Function Test-Probe_MoveIT {
|
Function Test-Probe_MoveIT {
|
||||||
#Download PSCP.exe if it does not exist
|
#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 }
|
#(new-object System.Net.WebClient).DownloadFile($PSCPURL, $PSCPLOC) | Out-Null }
|
||||||
|
|
||||||
If ($null -eq $ENV:EPCacheSite) {
|
If ($null -eq $ENV:EPCacheSite) {
|
||||||
|
|||||||
Reference in New Issue
Block a user