Using the word phrase search

The following table outlines the properties that can be used to define an AQS query using a word phrase restriction:

Property

Examples

Description

Attachments

attachment:report.xlsx

attachment:salesreport.docx

attachment:pptx

attachment:*

Searches for items that have an attachment with a specific name, such as report.xlsx or salesreport.docx. You can include partial filenames, as shown in the third example, to find all messages with a certain extension. The file body of any attachments will also be searched. The last example finds all messages that have any attachment.

Cc

Cc:administrator

Cc:sales@contoso.com

Searches for items where administrator or sales@contoso.com is included in the carbon copy line.

Get Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.