Ask AI

Deploying the Evo Agent using ConnectWise RMM

Summary

This article outlines the procedure for deploying the Evo Agent to Windows endpoints through ConnectWise RMM utilizing the InstallEvoAgent.ps1 PowerShell script.

The complete script and parameters are available HERE

 
  1. Open ConnectWise RMM.
  1. Navigate to Automation > Tasks > Add > Script Editor
  1. Name and label the script as desired
    1. Notion image
  1. Add Parameter
  1. Set Parameter name as 'EvoDirectory' > Check Required Field
  1. Set Parameter Type as Text String
  1. DO NOT SET Default Value
    1. Notion image
  1. Repeat the process creating Parameters named 'AccessToken' and 'Secret'
  1. Confirm Parameters show 'EvoDirectory', 'AccessToken', and 'Secret' on Task Summary tab
    1. Notion image
  1. In the Script Editor section click Add Row > Click 'Type to search function' and select 'HTTP download'
  1. Set the URL field as https://raw.githubusercontent.com/evosecurity/EvoWindowsAgentDeploymentScripts/refs/heads/master/InstallEvoAgent.ps1
  1. Set the output field as 'C:\Program Files (x86)\*User*\tmp\Evo\InstallEvoAgent.ps1'
  1. Check the 'Overwrite' and 'Create Directory' checkboxes
  1. Click the Save button
    1. Notion image
  1. In the Script Editor section click Add Row > Click 'Type to search function' and select 'PowerShell script'
  1. In the PowerShell Script Edit Window paste the script below
    1. Notion image
  1. You will need to enter you Environmental URL on this line

$EnvironmentUrl = "Enter your Environmental URL here" This is your Evo portal base URL (e.g., https://yourorg.evosecurity.com)

Note: You can change other parameters within the script as are listed here https://github.com/evosecurity/EvoWindowsAgentDeploymentScripts. Keep in mind any additional parameters will be applied any time the script is run.

If you would like to have the option to enter these additional parameters at the time the script is run you can create additional script parameters (as shown in steps 4 - 7) and add the parameter name to the script in this format '@Parameter Name@' the same way the 'EvoDirectory', 'AccessToken', and 'Secret' parameters are listed as '@EvoDirectory@', '@AccessToken@', and '@Secret@'.

  1. In the Script Editor section click Add Row > Click 'Type to search function' and select 'Script Log'
  1. In the Script Log Message window enter '%output%' and click Save
    1. Notion image
  1. In the Script Editor section for each line click the Operating System drop down and select Windows for each line.
    1. Notion image
  1. At the top of the screen click Save
    1. Notion image

After creating the installation script, navigate to Automation → Tasks, locate your Evo script, and select Schedule Script. Enter the tenant-specific parameters, then choose the target devices. Because these parameters are unique per tenant( client ), schedule and scope the job to one tenant ( client ) at a time.

Notion image
Did this answer your question?
😞
😐
🤩