Wednesday 12 November 2014

Update Multiple Windows Instances DNS Servers with Powershell

If you have ever been frustrated with having to manually update DNS Server entries on all of your server infrastructure. (I know I have) then keep reading.....
Here is a handy powershell script that will do the whole process in a few clicks...

1. First create a text file containing all the servers/workstations that you want to update.


2. Secondly you need to download the powershell script from here. Then right click and edit.


3. Next edit the first line of the the script and update the path of the text file containing your list of servers. Mine is C:\DNS\servers.txt


4. Next insert the IP addresses of you new DNS servers.

5. Next run the script from the powershell from the command line.






No comments:

Post a Comment