Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created January 2, 2020 21:39
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/dbc440dd9ba91b21435f70ce981c08ea to your computer and use it in GitHub Desktop.
Save rtrouton/dbc440dd9ba91b21435f70ce981c08ea to your computer and use it in GitHub Desktop.
curl -su username:password "https://server.name.here/JSSResource/policies/id/27" -H "content-type: application/xml" -X PUT -d '<policy><general><enabled>false</enabled></general></policy>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment