Use Powershell, WMI to retrieve DNS search order, Use Active Directory for list of computers.
# ********************* Global variables *********************$sb = new-object System.Text.StringBuilder$sbErrors = new-object System.Text.StringBuilder # ********************* Defining … more