You can use a pre and mid level install tasks to get and set the computer name in an automated way.
This can be automated by using the Get-Set Computer name tasks.
This allows you to set the name in the following ways:
Get/Set ComputerName
by Corey A. Serrins, Kent Feid and Patrick Warme
These tasks will work with both sysprepped images and scripted installs of XP/Vista/7/8
Major features include:
There are 2 scripts included with this download, getcomputername and setcomputername, each has a 32 and 64 bit versions.
For complete instructions and commandline switches, please read the included README.txt file
Get/Set Computer Name Download
The original ITNinja article can be found here.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center