Query to Exchange Database
How to create query to db exchange? My client want create query to mailbox user. Users make OOF appointment in calendar. I want to make query with parameters: list users, range time, appiontemnt properties = OOF and than export results of query to excel or txt. I understand that Exchange DB is not like SQL DB, but it is the base.Truly, Valery Tyurin
July 9th, 2010 8:54am

Hi , You just need to use is LDAP to query active Directory using ADSI eg http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1122.mspx . If you need to query the members of a contact Distribution list this you can use either use Mapi via the OOM eg http://support.microsoft.com/kb/313799 or CDO 1.2 http://blogs.msdn.com/webdav_101/archive/2007/05/04/how-to-expand-a-distribution-list-with-cdo-1-21.aspx . Regards. Shafaquat Ali.M.C.I.T.P Exchange 2007/2010, M.C.I.T.P Windows Server 2008, M.C.T.S OCS Server 2007 R2, Phone: +923008210320
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2010 8:57am

Thank you, Ali. I will try to find example on http://msdn.microsoft.com/exchange.Truly, Valery Tyurin
July 9th, 2010 1:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics