Changing Many Computer Names

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to change most of the 5000 computer names in the Win2K domain from
the old naming convention to the ser. no.

I have an excel file of the computer names and the ser. no.s

I can use "netdom change computername..." but only one at a time.

I have been looking a the For /F command line to parse the excel file but I
haven't a clue how to use it in combination with the netdom utility to change
all the computernames.

Any suggestions or tips are greatly appreciated.

LB
 
Hey LB,

Create a batchfile and let it rip! Output your excell file as a csv,
edit the command into the text (programmer editors can easily edit
columnar data...) Then you can see the status of each success by
re-directiing the output...

Just my $00.02!

Geoff
 
Yes, you could even insert a column in Excell in front of the data and
place the command line in the cell. Then when it is exported out to a SCV
(perferably Tab separated) it can be renamed from *.csv to *.bat and pretty
much run "as is".
 
Back
Top