Hi we just this week completed our jumpstart and are now looking to starting getting our mac service up and running. As expected it is now due last June and we are rapidly pulling stuff together to ensure the basics to serve our small group of mac users is ready.
To bring macs into line with our PC inventory we are being asked to using the same naming convention.
Currently this is a four character site code for the machine, machine type, 4 digit month and year, and the last 5 characters of the mac id of the machine.
e.g MKEEA1505ABCDE
Im starting to setup a script that prompts the user to enter the site code they work at, and then a month and year of purchase, however as a beginner at scripting I am unsure how I am supposed to pull the mac address from the machine, then remove everything except the final 5 digits?
Once this is devised I was going to rename the machine before running the bind so that the AD records reflect the machine change.
Any help anyone can offer is greatly appreciated.
Thanks
Jason