Skip to main content
Question

restart machine via policy

  • March 24, 2024
  • 1 reply
  • 27 views

Forum|alt.badge.img+2

create a policy, on the left pane enable the Restart Options. From there set if you want set it to restart immediately with or without a user logged in. 

i understand the above can be used to configure the policy but how to call that policy ? 

sudo jamf policy restart ?

1 reply

Forum|alt.badge.img+15

Your trigger is what calls the policy. Recurring check-in will run the policy the next time the computer checks in. If you want to call the policy on demand in Terminal, you’ll want to set a custom trigger and call it using `jamf policy -event trigger` or you could even call it by the policy id number using `jamf policy -id number`