Thursday, May 30, 2024

Exchange Online - Search and Delete Specific Email

 


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 

No comments:

Post a Comment

 
span.fullpost {display:inline;}