This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Enrollment Script
Simone Martorelli edited this page Feb 8, 2021
·
3 revisions
This script updates the application plist with all the information required before first launch.
In the Jamf Pro Server (JPS):
- Upload the example script into the JPS.
- Create a policy and attach the script to it.
- Either set this policy as the enrollment complete trigger and add other policies to it or create a custom event trigger and call it after you install the application.
You will need to update the enrollmentAppItems with the correct information per your application installs.
There is sample code in the script to use the JPS API to pull the users name into the hrFirstName. If you are not using the API then you will need to populate that value with some other method.