Solved

using cmdlet to delete mails between dates

Posted on 2015-02-08
1
22 Views
Last Modified: 2015-02-18
We are on Exchange 2007 SP2.

I need to delete mails between 01-01-2013 to 31-12-2013 on a certain mailbox and to be on the safe side i want to move these deleted items to a pst file.

Please advise me on how to achieve this.

Thank You & Kind Regards

Philip
0
Comment
Question by:psunith
1 Comment
 
LVL 3

Accepted Solution

by:
Rezwan Islam earned 500 total points
ID: 40597690
Export-Mailbox -Identity <MailboxIdParameter> -StartDate "<Month/Day/Year>" -EndDate "<Month/Day/Year>" -PSTFolderPath <Path_Of_PST_Folder>\<File_Name>.pst -DeleteContent


https://technet.microsoft.com/en-au/library/bb266964(v=exchg.80).aspx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video discusses moving either the default database or any database to a new volume.

733 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