Using PowerShell to deploy the Coro Agent to Windows devices
Use the following PowerShell script to deploy the Coro Agent on Windows endpoint devices. Run the script on individual devices for standalone deployment or use a remote monitoring and management (RMM) platform to deploy it to multiple devices:
Important
When deploying the Coro Agent via an RMM, run the script under the Local System account (SYSTEM) to ensure it has the necessary permissions.
Replace the following variable markers in the script with real values:
- $url : The download URL for the latest version of the Coro Agent installer for Windows, obtained from the Coro console. For details, see Deploying Coro on Windows devices .
- $newFilename : The .msi installer filename, extracted from the download URL.
For example, if you use the following download URL:
https://s3.amazonaws.com/client-repo.coro.net/beta/win/releases/2.0.412.1/CoroInstaller.msi?response-content-disposition=attachment%3B%20filename%3DCoroInstaller_123abc-456def-789abc.msi&AWSAccessKeyId=AKIA5XP6&Signature=y4V3Tq2dU9mE%3D&Expires=2005954595
This results in the following script values:
Important
Make sure you do not delete the quotation marks when replacing the placeholder text.
note
Coro generates a unique installer filename for each workspace. Therefore, you must create a copy of the standard Coro deployment script and repeat this process for each workspace.