• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 961
  • Last Modified:

How to clear an Exchange 2010 Mailbox

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
djdrew
Asked:
djdrew
  • 2
1 Solution
 
djdrewAuthor Commented:
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
 
Malli BoppeCommented:
Try using export-mailbox wuith deletecontent option
http://technet.microsoft.com/en-us/library/aa998579.aspx
0
 
djdrewAuthor Commented:
Microsoft removed the option to delete all content and folders.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now