views:

352

answers:

0

I have a program that's already in C++ which needs to query some information from Exchange 2007. What little information exists in Active Directory (or the Cluster Database) seems to be incorrectly documented, and while there are hints that parts of the information are in the registry, not all of the information we need is available.

I need to either call an Exchange PowerShell script from unmanaged C++ or get the same information as:

I'd rather call C++ APIs than either having to do managed-unmanaged thunking or calling PowerShell and parsing the textual output, but we can do that if absolutely necessary.