microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
627 stars 213 forks source link

Check for the managed preference instead of an escrow profile name #138

Open anewhouse opened 3 weeks ago

anewhouse commented 3 weeks ago

Updates the Escrow Buddy script to check for any managed preferences in the com.apple.security.FDERecoveryKeyEscrow domain instead of looking for specific terms in the profile identifier, in case Microsoft ever changes their profile naming scheme.