Script to change PC Name by querying list
Posted on 2009-05-13
Need to some help to create a script that can change the pc name automatically. I can currently do this with no problem but only if I put the new pc name in the script. I want to be able to have one main text (or access database) where all the pc names are listed for each site (grouped by default gateway), then when the script runs it looks at the pc's current default gateway then queries the master file (txt or db) and then picks the next pc name in the list according to the default gateway.
I know thats a lot there, and hope I explained it fine.