I've been taking a look at about a dozen restart scripts that have been shared with the community over the last several years. Unfortunately it's looking like forcing a restart on a MacBook with an M1 processor is no longer a viable option? Is there a new way to do this through JAMF with a simply policy, or with a script compatible with the new macs?
What we find is students rarely restart their devices, and sometimes we need them to (to force quit certain apps for instance so policy changes can be made). We aren't talking about post software updates, just a way to scope a policy to prompt the user to restart their device, and offer some sort of short deferral, but ultimately enforce the restart with an automatic shutdown, if the last deferral expires.
I've tried the one from @m_donovan at https://community.jamf.com/t5/jamf-pro/jamf-helper-reboot-script-with-deferral/td-p/188511#responseChild164611%3Cbr%3E but that does not seem to work anymore. If anyone has any thoughts, please let me know! I would greatly appreciate the help!
Thanks!
Keith

