Repository navigation
Script Auditor
List every script in Jamf Pro with the policies that use it, and find orphaned scripts that nothing runs. Read-only.
- Connect to Jamf Pro and click Connect & Check Permissions. The tool checks Read Scripts.
- Click Continue → (or Proceed Anyway →) to scan. The tool reads every script, works out its language from the shebang line, then reads every policy to see which scripts it runs.
Scripts are split into two tabs:
| Tab | What it shows |
|---|---|
| In Use | Scripts that at least one policy runs, with the number of policies |
| Orphaned | Scripts that no policy runs |
Each script shows its name, category and language. Select a script to read its contents and notes, and see the policies that run it. Show Orphaned Only and Search narrow the list.
Download Script saves the selected script with a file extension that matches its language.
Only policies are checked. A script can still be needed if it's used somewhere else, for example by a PreStage, by another script, or by something outside Jamf Pro. Check before you delete an orphaned script, or use Unused, which checks more places and takes a backup before it deletes anything.
-
Export CSV saves
ScriptAudit_<server>.csv. -
Export HTML saves
ScriptAudit_<server>.htmlwith each script's name, category, language and the policies that use it.
Scan Again returns to the start.
Permissions: Read Scripts, Read Policies. Only Read Scripts appears on the permission screen, but without Read Policies every script shows as orphaned.
Magic Toolbox © MDM Magic · mdmmagic.au · Releases · Report an issue
Getting started
Deployment
Jamf Pro Tools
- Clone
- Compare
- Wipe
- Restore
- Disable
- Create
- Command
- Device Logs
- Policy Scope
- Pre-stage Audit
- LAPS
- MDM Command Queue
- Self Service Descriptions
Audit & Health Check
- Profile Conflicts
- Smart Group Audit
- Account Audit
- Cert & Token Expiry
- Unused
- Network Check
- Script Auditor
- Fleet Health
- Extension Attributes
- Self Service Audit
Profile Builders
- PPPC Analyser
- System Extensions
- Web Content Filter
- Notifications
- Login Item Profiles
- Profile Signer
- Profile Unsigner
- Profile Inspector
- Uploading Profiles
Content & Packages
Reference