?
Solved

Powershell or Netsh script

Posted on 2012-03-27
2
Medium Priority
?
661 Views
Last Modified: 2012-03-31
Hi, I am looking for a script that would allow me to change the default dns settings (Primary and secondary) for a list of servers.  I would like to automate this process if possible with eithter Powershell or vbs\netsh.  Thanks
0
Comment
Question by:Lawrence Barnes
[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
2 Comments
 
LVL 79

Accepted Solution

by:
arnold earned 2000 total points
ID: 37772957
Presumably the servers are using static ip.
http://www.petri.co.il/configure_tcp_ip_from_cmd.htm

You might fare better by using scripted language such as power shell, or vbscript.
Using the script you would be able to determine what network interfaces there, which is active and to which the change is needed.
0
 
LVL 5

Author Closing Comment

by:Lawrence Barnes
ID: 37792299
Thank you.
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

800 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