• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 667
  • Last Modified:

Powershell or Netsh script

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
Lawrence Barnes
Lawrence Barnes
1 Solution
Presumably the servers are using static ip.

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.
Lawrence BarnesAuthor Commented:
Thank you.
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.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now