Here is a script that i use to rename computers remotely via Jamf. Many
computers were not following our standard naming convention, such as
computers named "Admin MacBook Pro", etc.. #!/bin/sh
serial=`/usr/sbin/system_profiler SPHardwareDataType | /...