I want to build a script that will find the local user excluding the local admin and use it to rename the Mac,
Example:
John Doe has a MacBook Air with a serial number C02FM2JEGTF1
The account name is his full name John Doe and his username is in our domain format first3 first last name.
I would like the name to be
johdoe-MBA-GTF1
Any ideas on how to do this?
