MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Exchange 2016 – Can’t Empty deleted folder

One of the issues that may users face in your environment that they can’t empty deleted folder with the following error:

“Some items cannot be deleted. They were either moved or already deleted, or access was denied.”

This may be related to dumpster quota size at the beginning you can check first the folder RecoverableItems size for the user with the following command:

“Get-MailboxFolderStatistics -Identity “user name” -FolderScope RecoverableItems | Format-List”

If the size of the folder is near 4 Gb then you should clear it.

If you want to clear RecoverableItemsFolder in case user can’t empty deleted items you can use the following command


“Search-mailbox -identity “user” -SearchDumpsterOnly –DeleteContent”

For more information regarding command “Get-MailboxFolderStatistics” you can check the following URL:

https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/get-mailboxfolderstatistics?view=exchange-ps

For more information regarding command “Search-mailbox” you can check the following URL:

https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/search-mailbox?view=exchange-ps

Ratish Nair

Microsoft MVP | Office Servers and Services

Team @MSExchangeGuru


Leave a Reply

Categories

Archives

MSExchangeGuru.com