I have a script to lock a Mac via API. No issues with that. It works very reliably.
I would like to use this script it to lock a Mac system when it has not updated inventory in over X days. Think of a Mac that has been shoved in a desk drawer for a while. This would force the user to contact the help desk to get it unlocked and explain why it has not bee online.
This is an easy enough policy and smart group to build. Last Inventory Update more than x days ago.
But testing is a pain in the butt. I have to wait 24 hours for “Last Inventory Update” to get to at least 1 day effectively test the policy.
Anyone know of a way to change “Last Inventory Update”?
