Retrieve Domain Controller Info From Exchange 2k3
Version Compatibility: Visual Basic 6, Visual Basic Script
The following basic snippet of code shows a rather simplistic way to retrieve/view some information from a domain controller running on Microsoft's Exchange Server 2003. This code can easily be modified to run in a module and even write to a log or screen output. You can find a detailed list of properties by searching MSDN for "Domain Controller Properties".
Instructions: Copy the declarations and code below and paste directly into your VB project.