Again i have got this working and can effectively name comptuers PC-0001 etc and match against the MDT database for known computers. I have tweaked the above to use the serialnumber instead of the mac address as this is imported into AD currently. If there is no link to the mac address it will generate a new name with a incremented sequence number. Mac address it will re-issue the same name. This link will check the macaddress of the computer and if the name matches the I had a look at another link as below which advises how to auto name a computer with a defined prefix and a sequence number. The second part is the sequencing of the devices. So based on above i believe i have the prefix part of the computer name down packed. Personally that is the way id prefer to name the new devices however the business is adamant that it wants to stick with the sequence numbering it is currently using (3k computersĪlready out there in the environment with that naming convention). Unique computer names by also adding the the Serialnumber variable. I can also run a build of a machine and can create This was discovered and tweaked using the following link.īy tweaking things in the above link i can effectively get the ZTIGather.log to create the OSD computername correctly according to its Make and model and Location Variables, i.e. MakeAndModelVarName - Updated in the make and models part of the db and populated with the different hardware types expected LocationVarName - Updated in the locations part of the db and populated with the county code variables explained above in the naming convention I have extended the MDT DB schema to include custom variables that can be entered in the Details tab. So a fully fomulated name will be something like LAUSYD009 ZZZZ = numbering of device - 0001, 0020 etc YYY = Site Office - Syd = Sydney, AUC = Auckland etc XX = Country code - AU = Australia, US = United states etc W = Hardware type - S = Server, V = VM, L = Laptop, D= Desktop etc The current naming convention for client devices is WXXYYYZZZZ as the client is in multiple countries and offices. I am trying to pre-populate the computer name during a task sequence however the computer name will be built utilising variables added to the mdt database. I am having some serious issues with trying to get the auto naming working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |