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
Solved

Powershell or Netsh script

Posted on 2012-03-27
2
656 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows File Server and SQL Auditor 3 33
Why is a PSO not being set for users 2 27
how do i convert a url into an icon 7 49
ost file to pst 10 165
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

860 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