Deploy with N-able N-sight
Upload the client's script in N-sight Script Manager as an Automated Task, test it on one device, then add it to the client daily.
Written By The Lemhi Product Team
Last updated 10 days ago
For technicians on N-able N-sight RMM. When you're done, the client has its own script in Script Manager, running daily as an Automated Task on the client.
Before you start
The client's script. In Engage, open the client, then Shadow AI Usage under Compass, then the Deployment tab. Expand Deploy with your RMM and click Copy script. It already carries this client's key, so paste it unchanged. This guide keeps one copy per client. If you'd rather keep one script, store each client's key in a client-level RMM variable and put that variable in place of the
$ClientKeyvalue. The full script and what it does: Deploy the extension with your RMM.
Upload the client's script
Paste the script you copied from Engage into a new file, unchanged. Save it as
lemhi-extension-<client>.ps1.Open Settings → Script Manager → Add.
Choose the Automated Task type (not Script Check) and upload the
.ps1.Name it
Lemhi AI Usage extension - <Client>and set a timeout of 120 seconds.

Pilot on one computer
Right-click one device → Add Automated Task (or Run Task Now).
Pick the client's script.

Check the result. N-sight reads exit code 0 as pass.
Restart the browsers on that computer.
Within a few minutes it appears on the client's Deployment tab.
"Extension not installed yet" is expected until the browser restarts. A failed run (exit code 1) means the key isn't a valid Lemhi key, usually because it was mangled in the copy, or a value didn't read back. Copy the script from Engage again and re-run. If the run fails with does not match what this script wrote, something rewrote the policy keys while the script ran, such as Group Policy, Intune or another RMM job: see Computer doesn't appear on the Deployment tab.
Schedule it on the client
Right-click the client (or site) → Add Automated Task, with the client's script and a daily schedule. Re-runs are safe.

Rotate the key or remove
To rotate the key, regenerate it on the Deployment tab, then click Copy script again: the copied script carries the new key. Save it over the client's .ps1, re-upload it, and run the task now. See Rotate a client's deployment key.
To remove the extension: Delete the client's automated task. Upload the removal script and run it as a one-off task on the client. See Remove the extension from a client's computers.
Related
Was this helpful?
More in Deploy by RMM
Deploy with ConnectWise AutomateDeploy with ConnectWise RMMDeploy with Datto RMMDeploy with Kaseya VSA 9Still need help? Ask the team