Skip to main content

Install the latest version of the Automox agent for Windows

  • December 3, 2024
  • 0 replies
  • 149 views

Pablo_1010
Forum|alt.badge.img

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.