mareg Posted September 16, 2005 Share 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 ? Link to comment Share on other sites More sharing options...
Martin Zugec Posted September 16, 2005 Share 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%... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now