The naming convention on our Mac platform is firstname.lastname followed by OS version. Example:
John.DoeXVI
I'd like to append only the beginning of each computer name to reflect different AD OU's. For example:
ADOU1-John.DoeXVI
ADOU2-Jane.DoeXVI
I know you can go into the JSS, manually change the computer name, and then reset it using Casper Remote, but I was hoping to implement a script that could add the appropriate prefix based on an AD Security Group or AD Computer ID in Casper. So, for example if the AD Computer ID was ADOU1-13453, it would know to apply ADOU1 to the Mac's computer name.
I have to do this for ~500 computers, and so I'm hoping I can automate this as much as possible.
Anyone have any ideas or scripts that could be useful?
Thanks guys!
Does anyone know if this is possible?
