Devices and agents

Run and schedule scripts on many devices

Run one script on every device of a client, a site or a device group with one passkey approval, cap how many run at once, see each device's result, cancel, or run it on a schedule.

The Scripts page runs one script on every device of a client, a site or a device group at once, or on a schedule. Each device's result shows as it comes in. This is part of the Pro plan.

Before you start #

  • You need a role that can operate devices, and a passkey. Every run and every schedule is logged in Activity.
  • To run on a set of devices you pick yourself, make a device group first (Tags and groups).
  • Scripts that need a client's install key (security tool installs) run as blueprint steps instead, so they aren't offered here.

Run a script now #

  1. Open Scripts and pick Run a script.

  2. Pick a client, a site or a device group, and whether it runs on Windows PCs or Macs.

  3. Pick a script From the library and fill in its parameters, or write My own.

  4. Set At most this many devices at once (1 to 200, 25 to start). Enlist shows how many devices the run reaches and which are skipped.

  5. Pick Run on N devices and approve with your passkey. One approval covers every device in the run, and each device checks it before running anything.

Devices that are offline get the script when they connect, within a day. Devices still onboarding, retired, or that you can't change are skipped and listed with the reason.

See the results and cancel #

The run opens with a row for each device: waiting its turn, on the way, done, failed (with the exit code), or skipped. Pick Output in the device's Terminal to read what the script printed. Recent runs on the Scripts page opens any run again.

Pick Cancel the run to stop it. Devices that haven't been sent the script yet won't get it. A script already running on a device finishes there.

Run a script on a schedule #

  1. Pick New schedule and give it a name.

  2. Pick the client, site or device group, then a Windows script, a Mac script or both.

  3. Pick every day, chosen days of the week, or a day of the month (1 to 28), and a time. Times are in your MSP's time zone (Settings).

  4. Pick Save and approve and approve with your passkey.

Only owners and admins approve a schedule. It needs as many approvals as a blueprint change. Until it has them, its row says Needs 1 more approval, and another owner or admin picks Approve. After that it runs on its own, and devices run only the exact scripts that were approved.

  • A schedule's target and scripts can't change. To run a different script, make a new schedule.
  • Turn off pauses it and Remove deletes it. Removing it cancels a run of it that is still going.
  • A run that can't start within 6 hours of its time, for example after an outage, is skipped and logged. The next one runs as usual.
  • If the person who last saved a schedule is removed from the team, the schedule turns off until someone else turns it on again.

Last updated 2026-11-24. Something wrong or missing? Email [email protected].