Adapter configuration settings

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?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top