• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 542
  • Last Modified:

Export Mailboxes on "litigation hold" by date range

  1. Command to export mailbox to .pst from March 1st 2012 to Today
  2. How can the items in the mailbox "dumpster" be viewed once exported to .pst  
0
PROACTIVETG
Asked:
PROACTIVETG
1 Solution
 
Scott CSenior Systems EnginerCommented:
What you are looking for is New-MailboxExportRequest

I'm not sure if you can put a date range in this command or not.

Here is how to export the recoverable items to a .PST.  http://www.itprocentral.com/how-to-export-recoverable-deleted-items-and-purges-folders-to-a-pst/
0
 
albeloCommented:
This is the command I'd run on Exchange 2010

New-MailboxExportRequest -ContentFilter {(Received -lt '11/04/2016') -and (Received -gt '03/01/2013')} -Mailbox <MailboxOrMailUserIdParameter> -name jobname -FilePath \\server\share\mailbox.pst

You will need to create a file share that the mailbox can be restarted to.  It doesn't work when trying to use local drives.

Once PST has been created, when you open it, you will see a Recoverable Items folder that will have items from the Dumpster.
1
 
get-ADuser -F ($_.Name -eq "Todd")Systems AdministratorCommented:
@albelo,

Doesn't the share also need security set to full access for "Exchange Trusted Subsystem"?
1
 
PROACTIVETGAuthor Commented:
Spot on. thanks
0
 
albeloCommented:
Yes,

The FilePath parameter specifies the network share path of the .pst file to which data is exported, for example, \\SERVER01\PST Files\exported.pst.

You need to grant the following permission to the group Exchange Trusted Subsystem to the network share where you want to export or import PST files:

To import PST files from the share: Read permission

To save exported PST files to the share: Read/Write permission.

If you don't grant this permission, you will receive an error message stating that Exchange is unable to establish a connection to the PST file on the network share.

Also, I got my dates mixed up.

Should be:

New-MailboxExportRequest -ContentFilter {(Received -lt '03/01/2013') -and (Received -gt '11/04/2016')} -Mailbox <MailboxOrMailUserIdParameter> -name jobname -FilePath \\server\share\mailbox.pst
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now