Connect Exchange Online Shell
1) $Search=New-ComplianceSearch –Name “Remove Specific Emails” -ExchangeLocation All –ContentMatchQuery ‘(Subject: “Odelo Davranış Kuralları İncelemesi”)’
2) Start-ComplianceSearch –Identity $Search.Identity
3) New-ComplianceSearchAction –SearchName “Remove Specific Emails” -Purge –PurgeType SoftDelete
Read more...