I got an email request to help with deleting the emails in the recoverable items folder. Let’s find out how to delete the contents in the dumpster.
You may come across situations in which you want to delete the contents of the recoverable items folder and it will come in handy to know the cmdlet to use to make the process easier. Let me explain with my mailbox as an example.
Running Get-MailboxFolderStatistics will bring you the number of items you have in your mailbox. I have 11942 items in the deletions folder, which is part of the recoverable items folder structure in Exchange 2010.
Run the following command to delete the contents of the dumpster.
Search-Mailbox –identity alias –SearchDumpsterOnly –DeleteContent
Running Get-MailboxFolderStatistics again reflects the deletion.
Nice and easy!