Force rebootong machine

tegus232
New Contributor II

I am looking for a script where we deploy via Jamf Pro. We want to force reboot users who haven't rebooted for more than 7 days where it gives a popup that states their machine is rebooting within 20 minutes and initiates the process where the machine will reboot automatically within 20 minutes.

This also means the reboot process will not hand and will close any applications when they are open in the event the user ignores the message and goes through the reboot process.

I already an extension attribute for uptime and smartgroup which i use to target within a policy.

Any help with the script will be helpful

0 REPLIES 0