Split Export pst

Split Export pst

You are here:
< All Topics

Export by Date to/from or Range

By using the Content Filter, you can export mailbox items to PST by selecting a specific date, from a specific date onwards or a date range. Let’s explore the three options.

Exporting from a date backwards, we need to use the command as below:

New-MailboxExportRequest -ContentFilter {(Received -lt ’01/01/2018′)} -Mailbox User1 -Filepath \\EX01\PSTFiles\User1lt.pst

By using the switch lt, the above example will export all mailbox items before 1st January 2019. To export from a date onwards, we need to use gt switch as below:

New-MailboxExportRequest -ContentFilter {(Received -gt ’01/01/2018′)} -Mailbox User1 -Filepath \\EX01\PSTFiles\User1lt.pst

____

To export mailbox data for a date range, for example all data between 2019 and 2020, you need to combine the switches gt and lt as below.

New-MailboxExportRequest -ContentFilter {(Received -lt ’01/01/2020′)-and (Received -gt ’01/01/2019′)} -Mailbox User1 -Filepath \\EX01\PSTFiles\User1range.pst

https://www.stellarinfo.com/article/new-mailbox-export-request.php

Table of Contents