Posted on 04-10-2019 06:48 AM
Hi All,
I'm thinking of creating a bash script that will verify all unverified MDM profiles via a policy in Jamf but the script will need to check first if the profile is unverified or not.
Is there a bash command that will check if an MDM profile is unverified?
the profiles command doesn't seem to have anything that will show that the profile is unverified.
Thanks in advance.
Solved! Go to Solution.
Posted on 04-10-2019 07:34 AM
Posted on 04-10-2019 07:34 AM
Posted on 04-10-2019 07:54 AM
User approved MDM is available as a criteria for a Smart group, it will either be Yes or No. It's how I find all of mine here.
Posted on 04-10-2019 08:21 AM
@JustDeWon Thank you! I'll check this out and have it a try.
@PaulHazelden So what you're saying is that if the MDM enrollment is not approved, it means that it's unverified?
Posted on 04-10-2019 08:43 AM
@JustDeWon Thank you for your suggestion. This is exactly what I was looking for.
Posted on 04-10-2019 08:54 AM
@duwayne , to answer your question to @PaulHazelden .. It's possible to have an Unverified User Approved MDM profile. So that Smart Group wouldn't do what you were looking for.
Glad that script was able to help.