Delete content many mailboxes in bulk

%3CLINGO-SUB%20id%3D%22lingo-sub-3013224%22%20slang%3D%22en-US%22%3EDelete%20content%20many%20mailboxes%20in%20bulk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3013224%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20delete%20the%20whole%20content%20in%20about%20200%20mailboxes%20in%20bulk.%20What%20would%20be%20the%20best%20way%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3013224%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3013514%22%20slang%3D%22en-US%22%3ERE%3A%20Delete%20content%20many%20mailboxes%20in%20bulk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3013514%22%20slang%3D%22en-US%22%3Efollow%20%3CA%20href%3D%22https%3A%2F%2Fwww.codetwo.com%2Fkb%2Fhow-to-delete-a-user-s-mailbox-content%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.codetwo.com%2Fkb%2Fhow-to-delete-a-user-s-mailbox-content%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3013967%22%20slang%3D%22en-US%22%3ERE%3A%20Delete%20content%20many%20mailboxes%20in%20bulk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3013967%22%20slang%3D%22en-US%22%3EI%20cannot%20run%20the%20cmdlet%20New-ComplianceSearch%20in%20Exchange%20PowerShell.%3CBR%20%2F%3EError%3A%20The%20term%20'New-ComplianceSearch'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%20operable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%20again.%3CBR%20%2F%3EI%20did%20all%20the%20steps%20and%20my%20user%20is%20added%20to%20the%20Organization%20Management%20and%20Discovery%20management%20groups.%3C%2FLINGO-BODY%3E
Frequent 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.