Scripts Overview
Phase 5 — Scripts & Automation · OpenFrame Onboarding
Scripts are how you do things to machines at scale — install software, pull a report, fix a recurring problem — without remoting into each one by hand. In OpenFrame they live under Scripts in the left nav, and this section is split into two tabs: Scripts List (your library) and Scripts Schedules (scripts set to run on a cadence). This guide is the lay of the land before the next four go deep.
The Scripts List
Open Scripts and you land on Scripts List — a table of every script available in your tenant. The columns tell you what each one is at a glance:
- Name — what the script does.
- Shell Type — the language it's written in (see below).
- OS — which platforms it can target (Windows, Linux, macOS icons).
- Added By — where it came from. Many are sourced from the Tactical (TacticalRMM) community library, so you're not starting from a blank page.
- Category — how it's grouped, e.g. Diagnostics, OpenFrame, TRMM (All):Network, TRMM (Win):3rd Party Software. A
DEPRECATEDcategory flags scripts that are no longer maintained. - Description — a one-liner on what it does.
Use Search for Scripts to filter, and the column header sort/filter controls to narrow by shell type or OS. Each row has a "…" menu and an arrow button that opens the script's detail page.
Supported shell types
OpenFrame runs more than just PowerShell. When you create a script you pick from:
- PowerShell — the workhorse for Windows.
- Batch — classic Windows
.bat. - Bash — Linux and macOS.
- Python — cross-platform, great for anything portable.
- Nu, Deno, Shell — additional runtimes for more specialized needs.
A script declares which OS it supports, so the library only offers a script to machines it can actually run on.
Two ways scripts run
- On demand — run a script against one or more devices right now. You can do this from the script's detail page (Run Script) or from a device's own page. Covered in Run a Script on a Device.
- On a schedule — set a script to run at a date/time, optionally repeating. That's the Scripts Schedules tab, covered in Schedule a Script.
Either way, results land in the Logs (activity logs) — see Script Results & Output Logs.
What's in a script
Click any script's arrow to open its detail page:
- Description and Category — what it is and how it's filed.
- Shell Type and Supported Platforms — language and target OSes.
- Syntax — the actual code, shown read-only.
- Edit Script and Run Script — buttons to change it or run it now.
A note on the Tactical library: scripts marked Added By: Tactical come from the TacticalRMM ecosystem. They often pass their parameters via environment variables rather than command-line arguments — worth knowing before you run one (the script's own comments usually say which it expects). More on that in Run a Script on a Device.
Quick checklist
- Found the Scripts section and the Scripts List / Scripts Schedules tabs
- Scanned the library by Category and OS
- Understood the supported shell types
- Know the difference between running on demand vs on a schedule
- Know where to find a script's Syntax and the Run Script button
What's next
Now that you know where scripts live, put one to work: Run a Script on a Device covers running on demand (and the variable gotcha between running from /scripts and from a device). Then Create Your First Script and Schedule a Script.
Based on OpenFrame v0.9.19. Screens and the bundled script library evolve between releases — when in doubt, what's in your console wins.
