Support Center

Login  Sign up

Power Shell Install

Power Shell Install

The below PowerShell script will allow you to download the .msi installer from a publicly shared URL, creating a temporary directory, install the agent, and finally remove the installer, as well as the temporary directory from the machine. 

A few things of note before starting:

  • You can download the .msi file from the Augmentt Portal, under Configuration -> Data. On the right-hand side of the screen, there is a download button. 
  • The .msi file should be uploaded to cloud storage, to a publicly available link. 
  • The URL for the .msi should replace the section in the ‘Invoke-WebRequest’ line, removing the angled brackets.
  • The Augmentt License key should replace the angle bracketed section in the ‘msiexec’ line. The license key for the specific end client can be found within the Augmentt portal under Configuration -> Data. Ensure you copy the key for the desired end client, pasting into the code, removing the angled brackets. 

mkdir "C:\Augmentt"

Invoke-WebRequest ‘<Insert URL to download .msi installer Here, Removing Angle Brackets>’-OutFile "C:\Augmentt\DiscoveryAgentSetup.msi"

sleep 10

msiexec /i C:\Augmentt\DiscoveryAgentSetup.msi /quiet /qn 'WRAPPED_ARGUMENTS="/VERYSILENT /SUPPRESSMSGBOXES /extensionKey=<Insert License Key Here, Removing Angle Brackets>"'

rmdir /s C:\Augmentt

The Augmentt Discovery Agent can be locally deployed via Powershell, using the below script:

msiexec /i DiscoveryAgentSetup.msi /quiet /qn 'WRAPPED_ARGUMENTS="/VERYSILENT /SUPPRESSMSGBOXES /extensionKey=<LICENSEKEYHERE>"'

It is important to remember:

  1. When pasting the extension key, do not leave the <>
  2. Note the extra single quotes around the wrapped arguments
  3. Make sure the path to the MSI is correct
  4. Download the Agent .msi installer from the Augmentt portal. 
    1. Log into
    2. Click to expand Configuration > Data > select the company applicable to the users the agent will be installed for.
    3. Click to 'Download' the agent from the Discovery Agent tab. **This file should be in the same location as the batch file you will be running. 
  5. Replace LICENSEKEYHERE with the end client’s License Key found from within the Augmentt Portal, under: Configuration -> Files -> License Key

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.