Bulk recovery of Public Folder items

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SysToolsData Expert - Recovery,Backup,MigrationCommented:
Undo-SoftDeletedMailbox -PublicFolder  

Ref Link: https://technet.microsoft.com/en-us/library/mt574255(v=exchg.150).aspx
tribzAuthor Commented:
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'."
AmitIT ArchitectCommented:
You need to do it manually. I don't see any PS command to recover it. Or give a check with MS.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tribzAuthor Commented:
ended up restoring from backup
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.