Last active
February 14, 2020 04:34
-
-
Save mallej/f668f950ef08c2242b34632c8e055fa2 to your computer and use it in GitHub Desktop.
[re-add mdm profile] #jamf #mdm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.jamf.com/jamf-nation/discussions/20830/mdm-capable-users-how-to-add#responseChild157012 | |
/usr/bin/profiles -R -p 00000000-0000-0000-A000-4A414D460003 (your MDM profile identifier here) | |
jamf manage | |
# -p A profile identifier used to locate the configuration or provisioning profile. | |
profiles -P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.jamf.com/jamf-nation/discussions/22545/how-to-have-jamf-re-add-mdm-profile#responseChild136268 | |
# this script, which will remove all existing config profiles and re-apply the MDM framework, and ultimate all scoped profiles. We provide it to our help desk staff via Self Service when assisting users. | |
#!/bin/sh | |
jamf removeMDMProfile | |
rm -rf /var/db/ConfigurationProfiles | |
sleep 20 | |
jamf mdm | |
sleep 20 | |
jamf manage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment