Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created May 14, 2020 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrouton/eb26f889a348253978be1a52dd39402f to your computer and use it in GitHub Desktop.
Save rtrouton/eb26f889a348253978be1a52dd39402f to your computer and use it in GitHub Desktop.
curl -H "Content-Type: application/xml" -X PUT -d "<policy><reboot><no_user_logged_in>Do not restart</no_user_logged_in><user_logged_in>Do not restart</user_logged_in></reboot></policy>" https://jamfpro.server.here/JSSResource/policies/id/policy_id_here --user jamfpro_user_here:jamfpro_password_here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment