Assumptions: You have a file called servers.txt that contains a list of your servers (one on each line).
Copy the text below and paste into a text editor.
Change the line $DNSServers and put in the addresses you want.
Save the file as: SetDNS.ps1
Open up a powershell window and run.
Check your servers DNS settings to confirm.
Change the line $DNSServers and put in the addresses you want.
Save the file as: SetDNS.ps1
Open up a powershell window and run.
Check your servers DNS settings to confirm.
No comments:
Post a Comment