Solved

Powershell or Netsh script

Posted on 2012-03-27
2
655 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
2 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cryptolocker decryption tools? 5 69
Windows 7/OS X dual boot 10 76
Office 2016 Error 4 63
RDP Trouble shooting 12 109
Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

777 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