Skip to content

Instantly share code, notes, and snippets.

jasonslay /
Last active Dec 1, 2020
MDM Migration
#! /bin/bash
SERIAL_NUMBER=$(ioreg -l | grep IOPlatformSerialNumber | cut -d "\"" -f 4)
echo "Serial Number: $SERIAL_NUMBER"
read -p "Send this serial number to Jason and press ENTER when he confirms the MDM server switch for your machine."
# Remove old stuff
sudo jamf removeMdmProfile
sudo jamf -removeFramework

Keybase proof

I hereby claim:

  • I am jasonslay on github.
  • I am jasonslay ( on keybase.
  • I have a public key whose fingerprint is 39C7 4391 7D99 2DBA 5636 8230 B998 D6D3 6F20 071D

To claim this, I am signing this object: