July 2011
Intermediate to advanced
480 pages
11h 54m
English
The following table outlines the properties that can be used to define an AQS query using a logical connector between two keywords:
|
Connector |
Example |
Description |
|---|---|---|
|
AND |
Subject:sales AND Subject: report |
Searches for items with both "sales" and "report" in the subject line |
|
OR |
Subject:sales OR Subject:report |
Searches for items with the word "sales" or "report" in the subject line |
|
NOT |
NOT Body:sales Body:(NOT sales) |
Searches for items without the word "sales" in the body |
If you want to delete meeting items that have specific content in the body, such as the phrase "Social Security Number", use the following code:
Search-Mailbox -Identity administrator ` -SearchQuery 'Body:"Social Security Number" ...