restart machine via policy

New Contributor

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 ?



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`