Delete MDM Profiles Applescript

Zeek
Contributor

Is there a way to Delete the MDM profile with applescript?

1 ACCEPTED SOLUTION

davidacland
Honored Contributor II
Honored Contributor II

Hi, sort of. The bash command profiles -D will do it, so in AppleScript, you would use do shell script "profiles -D".

View solution in original post

1 REPLY 1

davidacland
Honored Contributor II
Honored Contributor II

Hi, sort of. The bash command profiles -D will do it, so in AppleScript, you would use do shell script "profiles -D".