July 2017
Intermediate to advanced
648 pages
31h 9m
English
If you want to delete meeting items that have specific content in the body, such as the phrase Social Security Number, use the following commands:
Search-Mailbox administrator '
-SearchQuery 'Body:"Social Security Number" AND Kind:Meeting' '
-DeleteContent -Force
If you want to perform a discovery search based on keywords used in either the body or subject of the message in a particular mailbox, use the following commands:
New-MailboxSearch -Name MyTestSearch '
-SourceMailboxes administrator '
-TargetMailbox "Discovery Search Mailbox" '
-SearchQuery 'Body:"Social Security Number" OR Subject:"SSN"' '
-MessageTypes Email '
-IncludeUnsearchableItems -LogLevel Full
You can also use property operators (such as >=, or .. for properties ...
Read now
Unlock full access