This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM Downlaod the installer | |
| powershell.exe -command $([Net.ServicePointManager]::SecurityProtocol = 'tls12, tls11, tls' ; Invoke-WebRequest -UseBasicParsing -Uri https://<fqdn_Of_CWA_Server>/Labtech/Deployment.aspx -OutFile c:\Agent_Install.exe) | |
| REM Start silent install | |
| start c:\agent_install.exe /s | |
| REM just to add a bit of a delay | |
| ping <fqdn_Of_CWA_Server> | |
| REM Delete this file |