Solved

How to clear an Exchange 2010 Mailbox

Posted on 2011-02-18
3
951 Views
Last Modified: 2012-05-11
Is there a way to clear all items from an Exchange 2010 SP1 mailbox? I did some test migrations and would like to know the easiest way to reset them without delegating and recreating them.
0
Comment
Question by:djdrew
[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
3 Comments
 

Accepted Solution

by:
djdrew earned 0 total points
ID: 34926835
I found this commandlet but I leaves folders behind. Is there a way to have it delete folders as well?

Search-Mailbox -Identity "Alias" -DeleteContent
0
 
LVL 23

Expert Comment

by:Malli Boppe
ID: 34940384
Try using export-mailbox wuith deletecontent option
http://technet.microsoft.com/en-us/library/aa998579.aspx
0
 

Author Closing Comment

by:djdrew
ID: 35126335
Microsoft removed the option to delete all content and folders.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month8 days, 16 hours left to enroll

617 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