July 2017
Intermediate to advanced
648 pages
31h 9m
English
The first step to use these cmdlets to create and run a Compliance Search is to assign the Mailbox Search management role:
New-ManagementRoleAssignment –Role `"Mailbox Search" -User administrator
Now we can use the new cmdlets to search and delete particular emails from one or more mailboxes:
New-ComplianceSearch -Name "Delete Spam" -ExchangeLocation testuser `-ContentMatchQuery 'subject:"New HR Form"'Start-ComplianceSearch "Delete Spam"New-ComplianceSearchAction -SearchName "Delete Spam" -Purge -PurgeType SoftDelete
Read now
Unlock full access