Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a user that has 450 folders under a root folder called Active. Is there shell command to not only delete the contents of the folders, but the folders themselves?

share|improve this question

As far as my knowlegde goes, you cannot delete a mailbox subfolder in a specific mailbox from the shell, you can however:

Give yourself FullAccess permissions on the mailbox in question:

Add-MailboxPermission -Identity "TheOtherUser" -AccessRights FullAccess -User "YourUsername"

Then add the mailbox in Outlook (Go to accounts -> choose your account -> change -> email -> add), and then delete the folder you wish to remove

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.