Skip to main content

Here I share this one-line code to install the Automox agent on Windows from a remote shell:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri "https://console.automox.com/installers/Automox_Installer-latest.msi" -OutFile "./Automox_Installer-latest.msi"; if (Test-Path "./Automox_Installer-latest.msi") { Start-Process -FilePath "./Automox_Installer-latest.msi" -ArgumentList "/quiet", "ACCESSKEY=XXXX " -Wait; Remove-Item -Path "./Automox_Installer-latest.msi" -Force }

Don't forget to change XXXX with your access key.

Be the first to reply!

Reply