prevent agent install for testing
This commit is contained in:
@@ -58,8 +58,8 @@ If ( $CUSTOMER_ID -and $TOKEN )
|
||||
|
||||
## Install the agent
|
||||
Write-Log "Begin installing agent"
|
||||
Try { Start-Process $AGENT_INSTALLER -ArgumentList "/s /v /qn CUSTOMERID=${CUSTOMER_ID} CUSTOMERSPECIFIC=1 REGISTRATION_TOKEN=${TOKEN} SERVERPROTOCOL=HTTPS SERVERADDRESS=${SERVER} SERVERPORT=443" -Wait }
|
||||
Catch { Write-Log $_.Exception.Message }
|
||||
#Try { Start-Process $AGENT_INSTALLER -ArgumentList "/s /v /qn CUSTOMERID=${CUSTOMER_ID} CUSTOMERSPECIFIC=1 REGISTRATION_TOKEN=${TOKEN} SERVERPROTOCOL=HTTPS SERVERADDRESS=${SERVER} SERVERPORT=443" -Wait }
|
||||
#Catch { Write-Log $_.Exception.Message }
|
||||
|
||||
## Remove the agent installer
|
||||
If ( Test-Path $AGENT_INSTALLER )
|
||||
|
||||
Reference in New Issue
Block a user