VBScript program to enumerate all Servers in the domain. Program outputs the Distinguished Name of each server.

The program uses ADO to find all computer objects, then displays the Distinguished Names of the ones that have the string "server" in the operatingSystem attribute. This is the fastest way to search for servers in the domain. The output will include Domain Controllers and member servers.

EnumServers.txt <<-- Click here to view or download the program