Ehcho.com

Fetch a Mac's serial number

11 Feb 2014 | Last updated: Never

If you're trying to gather the serial numbers of your Macs. Select all of your Macs in Remote Desktop, choose "Send UNIX command", and paste in this code. Run it as root.

system_profiler SPHardwareDataType | grep "r (system)"

Compatibility

Tested on OS X 10.8, and 10.9.