major update to override Write-Output func

This commit is contained in:
2023-10-05 13:11:38 -04:00
parent 31a06a9206
commit bbb4884818
52 changed files with 377 additions and 378 deletions
+1 -1
View File
@@ -27,5 +27,5 @@ If ( !(Test-Path $AGENT_EXE) )
## Install the agent
Install-Program $AGENT_INSTALLER -Arguments "/s /v"" /qn CUSTOMERID=${CUSTOMER_ID} CUSTOMERSPECIFIC=1 REGISTRATION_TOKEN=${TOKEN} SERVERPROTOCOL=HTTPS SERVERADDRESS=${SERVER} SERVERPORT=443""" -Delete
} Else { LogMsg "N-Central agent is already installed on this endpoint." }
} Else { Write-Output "N-Central agent is already installed on this endpoint." }