Running Scripts

Using Jamf School, you can run custom Bash and AppleScript scripts on computers enrolled in Jamf School.

Enabling Jamf School Scripting


To install the Jamf School Scripting app, you need computers with macOS 10.13.6 or later.


  1. In Jamf School, navigate to Organization > Settings in the sidebar.

  2. Use the Add Modules payload to click Install this module for scripting.

After the scripting module is added, the Jamf School Scripting package is installed on enrolled computers. This is used by Jamf School to encrypt and securely send scripts to devices without the end user seeing the script contents.

Creating and Managing Scripts in Jamf School

  1. In Jamf School, navigate to Scripts in the sidebar.

  2. Click +Create new script.

  3. Configure the script settings, including a script name and script content.

    Important: Scripts must use UNIX line endings.

  4. Configure the scope of the script by clicking the + icon and adding device groups to the script scope.

  5. Click Save.

The script is run on computers in the scope.

Removing Jamf School Scripting From a Computer

To remove the scripting processes and files from a device, you can run an uninstaller by the root user on the computer. The uninstaller stops all scheduled scripts placed with Jamf School Scripting and clean up all Jamf School Scripting related process and files. To download the uninstaller, see ZDScriptingUninstaller.command.

Note: The uninstaller does not remove the com.jamfschool.scripting certificate from the device. However, the certificate has no impact on the user or computer.

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2021 Jamf. All rights reserved.