Bulk recovery of Public Folder items

tribz used Ask the Experts™
Is there a command to recover all items that have been deleted from Exchange 2013 public folders?

We seem to have lost the contents of lots of folders and we can see them in Outlook if we go to the recovered Deleted Items folder.

Due to the amount of folders though, it wont be practical to do work through each on and recover them.

Is there a power shell command that can do this, basically apply it against each public folder and recover it if its been deleted?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
SysToolsData Expert - Recovery,Backup,Migration

Undo-SoftDeletedMailbox -PublicFolder  

Ref Link: https://technet.microsoft.com/en-us/library/mt574255(v=exchg.150).aspx


Hi, thank you for your reply.

The mailboxes havent been deleted, just the contents of a very large number of folders. The folder structure still exists and we can go into each on in Outlook and recover them but there are thousands to get through.

Would the Undo-SoftDeletedMailbox -PublicFolder command work in that scenario?

It also only seems to apply to Office 365 and maybe Exchange 2016 ? I tried the command on the Exchange 2013 EMS and got the error "A parameter cannot be found that matches parameter name 'SoftDeletedMailbox'."
IT Architect
Distinguished Expert 2017
You need to do it manually. I don't see any PS command to recover it. Or give a check with MS.


ended up restoring from backup

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial