Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I purge older email from Exchange 2007

Posted on 2011-03-08
6
Medium Priority
?
344 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 1000 total points
ID: 35071581
0
 
LVL 17

Assisted Solution

by:lucid8
lucid8 earned 1000 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
In this video we show how to create a Shared 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 >> Sha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

609 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