Solved

How can I purge older email from Exchange 2007

Posted on 2011-03-08
6
298 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

762 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