Export messages from a mailbox that were sent or received on or after a specific date

I have a requirement to export all messages from an Exchange mailbox that were sent or received after a specific date to a PST file.  This was easy to achieve using the New-MailboxExportRequest cmdlet and specifying the dates within the ContentFilter parameter.  The example below will export all messages that were sent or received on or after 01/01/2016:

New-MailboxExportRequest -Mailbox dave@webbworld.local -Filepath \\FILE01\PST\Dave.pst -ContenFilter {(Sent -Ge '01/01/2016') -And (-Received '01/01/2016')}

Note: don’t forget the FilePath parameter must be specified as a UNC path!

More information on the ContentFilter parameter can be found here: https://technet.microsoft.com/en-us/library/ff601762(v=exchg.150).aspx

[BlogBookmark] [Blogsvine] [del.icio.us] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]