what is the script to clean mailboxes in outlook 2010

what is the script to clean mailboxes in outlook 2010
AwightAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FirstSentinelCommented:
From the users side:

http://en.kioskea.net/faq/10731-outlook-2010-view-the-mailbox-size-and-clean-it-up


or this:

http://www.stevieg.org/2010/12/why-use-exchange-2010s-archiving-features/

If you're wanting server side powershell scripting, I'll need more detail.
JeadienCommented:
As the previous poster said -- do you mean to remove the mailbox from Exchange, clean out certain folders, or a different task?

Additional information is needed to go further.

Thanks,

Jeadien.
AwightAuthor Commented:
We are doing some end user training and we need to reset a mailbox back to it's default state after each class. So deleting all mail, rules, signatures, etc.

Can this be done without deleting the mailbox and then recreating it?

Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

AwightAuthor Commented:
Does tyhis mean that no one has an answer to the question? I'd love to thro it out there again to see if ther's a response.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
I reckon the best you can get is to use
    export-mailbox -Identity Blabla -DeleteContents
to delete the mailbox content, and then delete the rules and permissions, and whatever might be set ... (don't have the commands ready for that yet).
There is no "reset" command for a mailbox to put it into initial state.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AwightAuthor Commented:
ok.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.