Solved

using cmdlet to delete mails between dates

Posted on 2015-02-08
1
21 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create an email address policy 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 Mail Flow…
In this video we show how to create a mailbox database 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 Servers >> Data…

828 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