Searching and deleting with powershell

I am new to powershell and trying to figure how to properly search for office 365 email that slips threw and deposits in many email boxes at once. I am not using the correct command to locate that email and then doing a soft delete of them. I thought maybe something like:

New-ComplianceSearchAction -Name ‘adam’ -ExchangeLocation ‘All’

But this is not correct

submitted by /u/mathewimprovedtt
[link] [comments]

Leave a Reply