Solved

How can I purge older email from Exchange 2007

Posted on 2011-03-08
6
335 Views
Last Modified: 2012-05-11
How can I purge older email from Exchange 2007
0
Comment
Question by:PPFA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
To show how to create a transport rule 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 >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

705 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