new-mailboxexportrequest <data older than>

Posted on 2014-08-12
Medium Priority
Last Modified: 2014-08-13
I would like to export all data from a specific mailbox older than say January 2014 to a .pst file.  I can successfully export the complete mailbox using...
New-MailboxExportRequest –Mailbox user.name –FilePath "\\servername\subflodername\user_name.pst"

But how can I specify data 'older than say 01/01/14'?

I know this is possible from within Outlook but I need to export using powershell.
Question by:toby_amsterdam
LVL 28

Accepted Solution

MAS earned 2000 total points
ID: 40257666
Below command will export mails before April 1 2013
New-MailboxExportRequest -ContentFilter "Received -lt '04/01/2013' "  -Mailbox "mailboxname" -FilePath \\server1\PSTs\mailboxname.pst

Open in new window


Author Closing Comment

ID: 40258299
Thank you!

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.

Question has a verified solution.

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

839 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