Creates a self-destructing LaunchDaemon and Bash script to run a recon at next Reboot, after confirming your Jamf Pro server is available
With surprising frequency, updating a computer's inventory with the Jamf Pro server the next time a computer reboots can be quite handy. For example:
- After upgrading the OS via erase-install
- After completing Setup Your Mac
- After running Office Reset
- After FileVault-related policies
The self-destructing script below will create a LaunchDaemon and Bash script to run a recon
at the next reboot, after confirming your Jamf Pro server is available.