Hi @Glenn Maxwell ,
Start-ComplianceSearch doesn't have the parameter "-Name", so you'll need to replace it with "-Identity" instead and then go ahead:
New-ComplianceSearch -Name "MR" -ExchangeLocation "ALL" -ContentMatchQuery 'From:"******@contoso.com" AND subject:"Test A:1"'
Start-ComplianceSearch -Identity "MR"
New-ComplianceSearchAction -SearchName "MR" -Preview
New-ComplianceSearchAction -SearchName "MR" -Purge -PurgeType SoftDelete -Force
Based on my test, the commands above can work properly:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.