restart machine via policy

cmcher2701
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 ?

1 REPLY 1

robjschroeder
Contributor

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`