Solved

Edit IP Settings on Muliple Servers

Posted on 2008-06-11
5
198 Views
Last Modified: 2013-12-05
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.
0
Comment
Question by:deanexpert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:deanexpert
ID: 21760445
Added notification e-mail.
0
 

Author Comment

by:deanexpert
ID: 21762667
Increased point value.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 21766162
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
 

Author Closing Comment

by:deanexpert
ID: 31466171
Thanks for the info on PsExec.  This at least gets me headed in the right direction.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 21804921
Thanks deanexpert.
Cheers !
--Rob
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about cloud computing and its benefits for small business owners.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question