Solved

How can I purge older email from Exchange 2007

Posted on 2011-03-08
6
307 Views
Last Modified: 2012-05-11
How can I purge older email from Exchange 2007
0
Comment
Question by:PPFA
  • 2
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
lloydclinton earned 250 total points
ID: 35071581
0
 
LVL 17

Assisted Solution

by:lucid8
lucid8 earned 250 total points
ID: 35083551
The other option would be to use one of the following commands which actually exports the data to a PST prior to deletion which IMO would be wise in case you find you accidentally delete something you want later.  Even if you don't want the data I would still do this in case there is a misunderstanding etc, then you can tell the boss OK the data is out of the server but its in these PSTs and we can keep for archival OR if you give me the order I will delete upon your command, but why don't we wait a few days. weeks etc just in case we find we need them...

ALL MAILBOXESGet-Mailbox -Server MailServerName| Export-Mailbox -PSTFolderPath G:\temp\ -EndDate "12/31/2009 12:01:00" -DeleteContent -ValidateOnly

NOTE: The ValidateOnly switch instructs the command to which it is applied to evaluate all the conditions and requirements that are needed to perform the operation before run the full command.

So when applied to a command it runs through the whole process and performs each action as it would without the ValidateOnly switch. HOWEVER the command doesn't change any objects instead when the command completes its process, it displays a summary with validation results. If it indicates that the command was successful, you can run the command again and just remove the ValidateOnly switch. from the end of the command

SPECIFIC MAILBOX
Export-mailbox JoeH -PSTFolderPath G:\temp\ -DeleteContent -EndDate "12/31/2009 12:01:00"

I would suggest that you also setup a test mailbox to play with using the specific mailbox command first before attempting the ALL MAILBOXES COMMAND sample above
0
 
LVL 3

Expert Comment

by:lloydclinton
ID: 35083928
Agreed Lucid8.  Also if you just want to keep the email server clean but require retention of email you should check into an email archiving solution.  I suggest Barracuda Networks Email Archiving appliance.
0
 
LVL 17

Expert Comment

by:lucid8
ID: 35083981
Agreed, just comes down to the immediate business drives and long term data retention needs.
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35361022
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

932 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