Office365 how to recover entire dumpster
Posted
by
TryTryAgain
on Server Fault
See other posts from Server Fault
or by TryTryAgain
Published on 2012-09-14T19:13:38Z
Indexed on
2012/09/14
21:39 UTC
Read the original article
Hit count: 259
powershell
|office-365
I need to recover an entire deleteditem aka dumpster folder.
Using Get-MailboxStatistics [email protected] | Select *Deleted*
I am able to see 2.2+GB of data = 9,700+ emails.
How can I recover all of these?
I have seen Search-Mailbox "Discovery Search Mailbox" -SearchQuery <search query> -TargetMailbox <user> -TargetFolder inbox
which I assume would work, but only for single searches and items. I need a batch solution. Any Office 365 PowerShell gurus?
© Server Fault or respective owner