Skip to content
Browse all help topics

Scripts

Reusable, approved automation: write Bash, Zsh, PowerShell, Python or cmd scripts and run them on one or many computers.

Where: /scripts
On this page

Create a script

  1. Press New script.
  2. Set Name, the shell (Bash, Zsh, PowerShell, Python, cmd.exe) and Risk (Low, Medium, High).
  3. Tick Approval required before run for anything risky.
  4. Write the Script body and press Create (“Script created”).

Run it

  1. Press Run on the script’s row.
  2. Optional Args (space-separated), e.g. --verbose --target /tmp.
  3. Tick the Target devices and press Run on (“Run queued”).

Open a run to watch it: Arguments, Schedule (On demand or a schedule), Result with Exit code and Duration, and live stdout / stderr.

Edit and history

Open a script for the Editor (name, shell, risk, approval) and its Run history (Status, Exit, Duration, By). Inside a live session, Quick steps runs these same scripts on the computer you’re connected to.

Related help