Applies to: Exchange Server 2013
Topic Last Modified: 2012-10-23
This topic lists the filterable properties for the ContentFilter parameter. The ContentFilter parameter is used to export messages to a .pst file that match the filter. The ContentFilter parameter is used in the New-MailboxExportRequest cmdlet.
Filterable properties
Many of the properties for the ContentFilter parameter accept wildcard characters. If you use a wildcard character, use the -like operator instead of the -eq operator. The -like operator is used to find pattern matches in rich types, such as strings, whereas the -eq operator is used to find an exact match.
The following table contains a list of the filterable properties for the ContentFilter parameter. This table lists the name of the property, a description, the acceptable values, and a syntax example. For more information about OPATH filters, see Filters in Recipient Shell Commands.
Property | Description | Values | Example syntax | ||||
---|---|---|---|---|---|---|---|
All |
This property returns all messages that have a particular string in any of the indexed properties. For example, use this property if you want to export all messages that have "Ayla" as the recipient, the sender, or have the name mentioned in the message body. |
String Wildcard |
|
||||
Attachment |
This property returns messages that have the specified string in the content of an attachment or in the attachment's file name. |
String Wildcard |
|
||||
BCC |
This property returns sent messages that have the specified recipient in the Bcc field. |
Display name Alias SMTP address LegacyDN Wildcard |
|
||||
Body |
This property returns messages that have the specified string within the message body. |
String Wildcard |
|
||||
Category |
This property returns messages that have a matching category. Categories are set by users or Inbox rules. |
String Wildcard |
|
||||
CC |
This property returns sent messages that have the specified recipient in the Cc field. |
Display name Alias SMTP address LegacyDN Wildcard |
|
||||
Expires |
This property returns messages that have a specified expiration time stamp. |
Date-Time stamp |
|
||||
HasAttachment |
This property returns messages with or without attachments. |
Boolean
|
|
||||
Importance |
This property returns messages that have a specified importance level. |
0 or "Low" 1 or "Normal" 2 or "High" |
|
||||
IsFlagged |
This property returns messages that have been flagged by the user or Inbox rule. |
Boolean
|
|
||||
IsRead |
This property returns messages that have been read or not read by the user. |
Boolean
|
|
||||
MessageKind |
This property returns messages that are of the specified type. |
Meetings Tasks Notes Docs Journal Contacts IM Voicemail Fax Posts RSSFeeds |
|
||||
MessageLocale |
This property returns messages that are of the specified locale. |
CultureInfo |
|
||||
Participants |
This property returns messages that have the specified recipient in the To, Bcc, or Cc fields. |
Display name Alias SMTP address LegacyDN Wildcard |
|
||||
PolicyTag |
This property returns messages that have a policy tag. The Exchange store persists policy tags as GUIDs. Therefore, the string can contain either an explicit GUID value, which is then searched by the PR_POLICY_TAG, or a wildcard string. If the supplied value isn't a GUID, the command uses Active Directory information to resolve names to GUIDs. |
String Wildcard |
|
||||
Received |
This property returns messages that were received by the recipient with the specified Received time stamp. |
Date-Time stamp |
|
||||
Sender |
This property returns messages that were received from the specified sender. |
Display name Alias SMTP address LegacyDN Wildcard |
|
||||
Sent |
This property returns messages that were sent by the recipient with the specified Sent time stamp. |
Date-Time stamp |
|
||||
Size |
This property returns messages that are of a specific size. |
B (bytes) KB (kilobytes) MB (megabytes) |
|
||||
Subject |
This property returns messages that have the specified string within the subject of the message. |
String Wildcard |
|
||||
To |
This property returns sent messages that have the specified recipient in the To field. |
Display name Alias SMTP address LegacyDN Wildcard |
|