Link to home
Start Free TrialLog in
Avatar of jenmilks
jenmilksFlag for United States of America

asked on

How to "empty" the data from a mailbox without deleting/re-creating

We are running Exchange 2007 w/sp1.  My question is this -

We have training email/network accounts used for - well, training.  After a training session, I'd like to be able to "empty" them of data, to make them blank and ready for the new training session.  Something like "empty mailbox" or something?

Just want to clear out the mailboxes so that the "test data" from folks training in them is gone and give the trainer a pristine environment again.

Is there a script that will achieve this?  An easier way?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of mass2612
mass2612
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Malli Boppe
You can use exmerge to delete the emails.I have done this in exchange 2003. i am sure you should be able to delete them from exchange 2007 as well.
http://www.petri.co.il/delete_messages_from_mailboxes_by_using_exmerge.htm
Exmerge is not available with 2007 its replaced by the export-mailbox command line tool. It would not surprise me if they release a supported version for 2007.
Microsoft making things harder  for the administrators.
Avatar of jenmilks

ASKER

Thanks a lot.  I was really hoping it was easier than that.  I'd rather go the MRM route than install Exchange on a 32-bit OS.  That just seems - short sighted on Microsoft's part.

I do appreciate the responses.
You still can use exmerge with exchange 2007
http://www.exchangeinbox.com/article.aspx?i=88