Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created June 1, 2021 22:11
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/2ddaf845b6664626ef367622a96dbd4a to your computer and use it in GitHub Desktop.
Save rtrouton/2ddaf845b6664626ef367622a96dbd4a to your computer and use it in GitHub Desktop.
Output from running Jamf_Pro_MDM_Device_Lock_with_Report.sh
username@computername ~ % /path/to/Jamf_Pro_MDM_Device_Lock_with_Report.sh /path/to/filename.csv
Please enter your Jamf Pro server URL : https://jamf.pro.server.here
Please enter your Jamf Pro user account : username_goes_here
Please enter the password for the username_goes_here account:
Attempting to send MDM lock to Jamf Pro ID 1234567890 with PIN code 348201.
ERROR! MDM lock of computer with Jamf Pro ID 1234567890 failed.
Attempting to send MDM lock to Jamf Pro ID 2935 with PIN code 348202.
<?xml version="1.0" encoding="UTF-8"?><computer_command><command><name>DeviceLock</name><command_uuid>ee3aa1de-cb8d-482e-84f3-384ad8ce6754</command_uuid><computer_id>2935</computer_id></command></computer_command>
Successfully locked computer with Jamf Pro ID 2935 with PIN code 348202.
Attempting to send MDM lock to Jamf Pro ID 29352935 with PIN code 12345.
Invalid PIN code provided: 12345
Attempting to send MDM lock to Jamf Pro ID 9876543210 with PIN code 348203.
ERROR! MDM lock of computer with Jamf Pro ID 9876543210 failed.
Attempting to send MDM lock to Jamf Pro ID AA2319 with PIN code 348206.
Invalid Jamf Pro ID provided: AA2319
Report on Macs available here: /var/folders/wz/mp27mjl97h505nvff787hh3c0000gn/T/tmp.myASwMzm.tsv
username@computername ~ %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment