Solved

Export Mailboxes on "litigation hold" by date range

Posted on 2016-11-04
5
44 Views
Last Modified: 2016-11-04
  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
Comment
Question by:PROACTIVETG
5 Comments
 
LVL 29

Expert Comment

by:ScottCha
ID: 41874780
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
 
LVL 5

Accepted Solution

by:
albelo earned 500 total points
ID: 41874834
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
 
LVL 4
ID: 41874916
@albelo,

Doesn't the share also need security set to full access for "Exchange Trusted Subsystem"?
1
 

Author Closing Comment

by:PROACTIVETG
ID: 41874919
Spot on. thanks
0
 
LVL 5

Expert Comment

by:albelo
ID: 41874924
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
A brief introduction to what I consider to be the best editor for PowerShell.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
how to add IIS SMTP to handle application/Scanner relays into office 365.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now