Adapter configuration settings

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

Guest

Hi,
I need to write a script that will read machine names from a text file,
change the ip address & dns search order to a specified value and write the
output to a different file. I have visited the "Script Center" site of
Microsoft, but I am having absolutely zero success in getting my script to
run correctly. Can anyone assist?
 
Hi,

problem You specified is too much complex.
In my opinion the righ way is to broke your target into separate tasks.

1) How to call multiple computers -- list in textfile
Refer:
http://www.microsoft.com/technet/scriptcenter/scripts/templates/wmi/basic/default.mspx

2) How to set new IP configuration
Refer:
http://www.microsoft.com/technet/scriptcenter/scripts/network/client/modify/default.mspx

3) How to read new configuration
Refer:
http://www.microsoft.com/technet/scriptcenter/scripts/network/client/list/default.mspx

P.
 
Back
Top