Overview

RMM Scripts is a reusable library of PowerShell, Batch, and Bash scripts you can run on any managed device. Online devices receive commands instantly over the agent's live connection; offline devices can queue the run for their next check-in.

The Script Editor

Running Scripts

Run History

Every run records its status, exit code, output, and duration - viewable from the Scripts page and from each asset's Script History tab. A run you no longer want can be cancelled, which also stops it from being delivered to an offline machine later.

Run states & reliability

A run always reaches a final state - it can't hang on Pending or Running forever:

Queued runs also survive a server update - they're re-sent to the device on its next check-in rather than being dropped - and the agent retries reporting results, so a result isn't lost if the server was briefly unreachable. (Requires agent v1.14.0+.)

Note: Deployment scripts used by integrations (RustDesk, ScreenConnect, Comet Backup) are built in and managed by the platform - you'll see their runs in history, but you don't need to maintain them.