Link to home
Start Free TrialLog in
Avatar of ferrarista
ferrarista

asked on

New-MailboxRestoreRequest to recovery only items within a specific date range

Guys

I need to perform a restore of a mailbox from a Recovery database but I would like to restore only those items within a specific date range. Is this possible ? I'm using Exchange 2010.

Thanks.
Avatar of Jason Crawford
Jason Crawford
Flag of United States of America image

You'd have to either connect the disabled mailbox to a recovery AD user account using Connect-Mailbox and open the mailbox using Outlook or filter using Search-Mailbox as far as I know.  I searched all available parameters for the New-MailboxRestoreRequest cmdlet for 2010 and none have the option to filter by date.

Either that or you can try searching the dumpster and Purges folder using MFCMAPI (assuming SingleItemRecovery was enabled on the source mailbox).
ASKER CERTIFIED SOLUTION
Avatar of Ajit Singh
Ajit Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Kevin - The New-MailboxRestoreRequest cmdlet doesn't perform any action on the database level, it simply restores data from a disabled/disconnected mailbox to an active mailbox.  Additionally, the New-MailboxExportRequest cmdlet exports data from a mailbox to a .pst file so this wouldn't really be the best option to accomplish what the OP is requesting.

https://technet.microsoft.com/en-us/library/ff829875(v=exchg.160).aspx
https://technet.microsoft.com/en-us/library/ff607299(v=exchg.160).aspx
Avatar of ferrarista
ferrarista

ASKER

Thanks. In the end I restored the whole mailbox. I don't think the New-MailboxRestoreRequest does support date range switches.