OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

[Script of Jan. 31] Set DNS Server Search Order for Multiple Computers in an Organizational Unit

[Script of Jan. 31] Set DNS Server Search Order for Multiple Computers in an Organizational Unit

  • Comments 1
  • Likes

Script Download: SetDNSServerSearchOrder.zip
http://gallery.technet.microsoft.com/scriptcenter/Set-DNS-Server-Search-6a3e3ede 

This script allows you to retrieve or set DNS server search order for multiple computers that belong to one organizational unit. It will only modify the DNS server search order for the network adaptors with static DNS Server search order.

When you replace an old DNS Server by a new one, IT administrators often want to retrieve a list of computers that are using old DNS Server. After getting the list of these servers, IT administrators also need to replace the old DNS Server search order with the new one.

image image
 image

You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • The text for the link to the gallery page for the script doesn't match the actual link. Clicking it sends you off to a different script.