Enumerating Domain Controllers

This script enumerates the names of all Domain Controllers (DCs) for a given domain. This includes the Primary Domain Controller (PDC) and the Backup Domain Controllers (BDCs), if any.

The results will be printed in the debug window and also logged to the file "GetDCs.txt" in the current directory.

image\hdisk.gif ...VB\Domain\GetDCs\