Using Jamf School, you can run custom Bash and AppleScript scripts on computers enrolled in Jamf School.
To install the Jamf School Scripting app, you need computers with macOS 10.13.6 or later.
Enabling Jamf School Scripting
In Jamf School, navigate to Organization > Settings in the sidebar.
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
In Jamf School, navigate to Scripts in the sidebar.
Click +Create new script.
Configure the script settings, including a script name and script content.
Configure the scope of the script by clicking the + icon and adding device groups to the script scope.
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.