Posted on 08-15-2021 04:46 PM
Hello!
I know there is a command to trigger policies which is "jamf policy -id<number>" and I am wondering where I can find the policy ID number. I was looking at the each policy I made, but I couldn't find or see anything related to the ID number. Does anyone know a way to find the policy ID?
Solved! Go to Solution.
Posted on 08-15-2021 08:34 PM
Greetings!
The policy ID can be located on top of the url example: https://companyname.jamfcloud.com/policies.html?id=25&o=r
Policy ID would be 25, so when you run a jamf policy -id 25 that will trigger that policy if your device is in that scope. I hope this helps
Posted on 08-15-2021 08:34 PM
Greetings!
The policy ID can be located on top of the url example: https://companyname.jamfcloud.com/policies.html?id=25&o=r
Policy ID would be 25, so when you run a jamf policy -id 25 that will trigger that policy if your device is in that scope. I hope this helps
Posted on 08-15-2021 08:46 PM
Got it and thank you!!!
Posted on 08-17-2021 01:04 AM
While using the policy ID is certainly an option, I prefer to add a custom trigger to policies that I want to trigger from the command line or a script and use that custom trigger. If you select good names for the custom trigger this becomes much more readable than using the policy ID. Do you remember which policy had ID 354?