Edit IP Settings on Muliple Servers

Anyone know of a way to modify IP settings for multiple servers?  I need to remove an old IP address and add a new IP address for both DNS and WINS on about 100 servers and don't want to have to do them one at a time.  Thanks.
deanexpertAsked:
Who is Participating?
 
Rob WilliamsConnect With a Mentor Commented:
You could create a batch file such as the following, but it would likely require a logon, depending how you deployed, on each server:
netsh interface ip set dns name = "Local Area Connection" source = static addr = 10.10.10.111
netsh interface ip set wins name = "Local Area Connection" source = static addr = 10.10.10.222
note: "Local Area Connection" must be the name of the network adapter. Though this is the default, it may not always be the same.

You can also remotely apply using Microsoft/Sysinternal's PSExec:
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
If you look at the Syntax of PSExec you can supply a text file with a list of computers to which you want to apply the .exe/.bat
0
 
deanexpertAuthor Commented:
Added notification e-mail.
0
 
deanexpertAuthor Commented:
Increased point value.
0
 
deanexpertAuthor Commented:
Thanks for the info on PsExec.  This at least gets me headed in the right direction.
0
 
Rob WilliamsCommented:
Thanks deanexpert.
Cheers !
--Rob
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.