Skip to content

Instantly share code, notes, and snippets.

@jasonslay
jasonslay / migrate.sh
Last active Dec 1, 2020
MDM Migration
View migrate.sh
#! /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
View keybase.md

Keybase proof

I hereby claim:

  • I am jasonslay on github.
  • I am jasonslay (https://keybase.io/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: