Detecting Archive Mailboxes in RDB RRS feed

  • Question

  • I have a scenario where user mailboxes are archive-enabled, and the archive mailboxes are located on databases separate from the live mailboxes. I have backed up a database containing both live and archive mailboxes, and recovered it to a Recovery Database.

    I would like to find a way, from programatically looking at the RDB (via MAPI or any other capable API), to tell which are backups of live mailboxes and which are backups of archive mailboxes.

    I can't depend on the RDB name, as it can be anything, nor can I count on consistency of display names (archive mbx display names can even be identical to live mbx display names). The Exchange Management Shell command "get-mailbox -archive -database <dbname> " doesn't seem to be capable of making the distinction either.

    Is what I'm asking currently possible?

    Thanks for any pertinent info.

    James Mooney, EMC Corporation

    Tuesday, January 18, 2011 7:53 PM

All replies

  • Get-MailboxStatistics -Database <RecoveryDB>  | Where {$_.IsArchiveMailbox -eq 'True'}

    It will list all the mailboxes in the Recovery database which are archive mailboxes.

    • Proposed as answer by peeyush.jain Tuesday, December 27, 2011 11:06 AM
    Thursday, December 22, 2011 12:36 PM