fix agent installation
dot source utility script
This commit is contained in:
@@ -58,7 +58,7 @@ 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 }
|
||||
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
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
## Stop the DeltekVision process
|
||||
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
|
||||
|
||||
## Stop the DeltekVision process
|
||||
Remediation-StopProcess -Name "DeltekVision" -Force
|
||||
|
||||
## Set the path to Deltek Vision
|
||||
|
||||
Reference in New Issue
Block a user