mareg Posted September 16, 2005 Posted September 16, 2005 Hello there !just a small question.[UserData] OrgName="mycompany" ComputerName="*"So my computers names are like "mycompan-xxxxxx" where 'xxxxxx' is a random string.I need to have a hostname with only 6 letters (due to my imaging server..)So is it possible to set the number of letter that setup will generate randomly ?And ever more (maybe it's too much) is it possible to set a fix string and a random one ? Like 'ABCxxx' with 'xxx' for random ?
Martin Zugec Posted September 16, 2005 Posted September 16, 2005 If you are using PE (WinPE/BartPE), you can create simple script...In you unattended.sif, createComputer=**ComputerName**Now pick some utility for replacing text and replace **ComputerName** with variable %Random%...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now