krypted.com

Tiny Deathstars of Foulness

Just a quick one-liner. Enjoy. profiles -Cv | grep Enrollment | awk '{ s = ""; for (i = 5; i <= NF; i++) s = s $i " "; print s }'

August 20th, 2016

Posted In: Mac OS X, Mac OS X Server, Mac Security, Mass Deployment

Tags: ,

  • Paul Rauschelbach

    Thanks, but this didn’t return any value on three machines with Meraki Systems Manager MDM profiles.

  • tulgeywood

    profiles -Cv | awk -F’= ‘ ‘/Enrollment/ {print $2}’