How to remove or check profile installed in mac

You can remove all profiles using.

/usr/bin/profiles -D  ( enable root user then switch user to root)

You can check how many profiles are installed

/usr/bin/profiles -L

/usr/bin/profiles -P


I usually run the command to remove the mdm profile then do a jamf manage command to bring it back. Seems to work.
#!/bin/sh
sudo jamf removemdmprofile
#!/bin/sh
sudo jamf manage

Comments

Popular posts from this blog

Creating a Netboot Image by using AutoCasper NBI with Auto DMG

What’s the Difference Between APFS, Mac OS Extended (HFS+), and ExFAT?

Cisco AMP uninstall script