Need to list all the Domain Controllers (DC) in your environment and their GUIDs? One DNS lookup can provide it...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
In a command prompt window, call up an interactive nslookup session. At the nslookup prompt issue the command "ls -t CNAME
The results will be a list of all the fully qualified domain names for all Domain Controllers. For each entry, the DC's GUID will also be listed.