Run a script on device enrollment
I'd like to be able to run a script once on new device enrollment - not on a scheduled, one off, or recurring basis.
Script Jobs can now be run when a device joins a group! This will also work during enrollment. To use this, select the "Run at group join" option when creating a Script Job.
-
Nikola
commented
Is this available through API too?
-
Brian
commented
Ability to run scripts at the device enrollment stag.
Example Use Case:
Set Computer hostname to company standards, and any other personalization scripts we run on the system itself. -
bojan
commented
What we are concretely looking for is the possibility of mapping one or more individual Scripts to a Group, so when the enrollment process is running, it also executes the script(s) at the end. For example, a custom script that enables SSH on the Mac device.