locked
multi-mailbox search except new-mailboxsearch RRS feed

  • Question

  •  I want to do multi-mailbox search without ECAL, is there any other method I can use except ECP and New-MailboxSearch? For example, MAPI or EWS? I know Search-Mailbox, but I want some other method with better performance. 

    Thank you!

    Tuesday, July 10, 2012 9:04 AM

Answers

  • The way the Exchange Mailbox API's work (Mapi and EWS) is any access you make is in the Context of a Mailbox Folder. So to perform a Multi-Mailbox Search you would have to search each mailbox Folder in every Mailbox you want to search one operation at a time. Eg in Mapi use a Mapi Table search http://www.dimastr.com/redemption/mapitable.htm or if using EWS use a Query-String so you can do Content Index Search http://msdn.microsoft.com/en-us/library/hh148195(v=exchg.140).aspx . It unlikely that you will be able to match or outperform Search-Mailbox because this has been optimized for the task.

    Cheers
    Glen

    • Marked as answer by Carly Gui Thursday, July 12, 2012 2:42 AM
    Wednesday, July 11, 2012 4:41 AM

All replies

  • The way the Exchange Mailbox API's work (Mapi and EWS) is any access you make is in the Context of a Mailbox Folder. So to perform a Multi-Mailbox Search you would have to search each mailbox Folder in every Mailbox you want to search one operation at a time. Eg in Mapi use a Mapi Table search http://www.dimastr.com/redemption/mapitable.htm or if using EWS use a Query-String so you can do Content Index Search http://msdn.microsoft.com/en-us/library/hh148195(v=exchg.140).aspx . It unlikely that you will be able to match or outperform Search-Mailbox because this has been optimized for the task.

    Cheers
    Glen

    • Marked as answer by Carly Gui Thursday, July 12, 2012 2:42 AM
    Wednesday, July 11, 2012 4:41 AM
  • Thank you for your reply.

    Thursday, July 12, 2012 2:42 AM