Delete content many mailboxes in bulk

Iron Contributor

I want to delete the whole content in about 200 mailboxes in bulk. What would be the best way here.

 

3 Replies
I cannot run the cmdlet New-ComplianceSearch in Exchange PowerShell.
Error: The term 'New-ComplianceSearch' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I did all the steps and my user is added to the Organization Management and Discovery management groups.
https://www.codetwo.com/admins-blog/new-compliancesearch-new-version-of-search-mailbox/ - here are some more detailed instructions concerning prerequisites. Also, take a look at the troubleshooting section in this article: https://www.codetwo.com/admins-blog/start-remote-powershell-session-connect-exchange-office-365/#tro... . It should help you resolve the issue.