Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.