Skip to content

Run scripts ​

What this is ​

How to execute a library script against one or more devices, or against a device group, and where to review results.

Who can use it ​

Anyone with Scripts run access (and Devices access when starting from the device list or a device page).

How to open it ​

From the Scripts library ​

  1. In the left side menu, click Scripts.

Left side menu with Scripts selected

  1. Click Run on the script row.

Scripts list row with Run highlighted

From Devices (bulk) ​

  1. In the left side menu, click Devices.
  2. Check one or more devices.
  3. Use the toolbar Run Script action to open the script run flow.
  4. Pick the script, set any prompted options (for active_user scripts, select a user session if asked), then execute.

From a single device ​

  1. In the left side menu, click Devices.
  2. Open the device.
  3. Open the Scripts tab.
  4. Click Run on a script — this path supports FlexRuntimeVars. See Run scripts with RuntimeVars.

Run from the library modal ​

  1. After clicking Run, the modal Run “{script name}” opens.
  2. Choose target mode:
    • Devices — search with Filter devices..., check devices, then click Run script
    • Device group — select a group, then click Run script
  3. Click Cancel to close without running.

Run script modal with Devices and Device group tabs

When you target a Device group, membership is re-evaluated first. Offline devices are skipped.

View results ​

  1. In the left side menu, click Automation.
  2. Open the Executions tab.
  3. Filter by source/status as needed and open a row for detail (stdout/stderr, timing, errors).

You can also review history on a device’s Scripts tab after a single-device run.

Tips ​

  • Prefer a Device group when the same dynamic set of machines should receive the script.
  • Bulk library runs do not collect RuntimeVars yet — use the device Scripts tab when variables must be supplied for one run.
  • Confirm devices are online before large fan-outs; offline members are skipped for group runs.

OnPoint RMM knowledge base