Properties that can be used with the Filter parameter

There are a number of EMS cmdlets that provide a -Filter parameter which can be used to narrow searches based on the value of an OPATH property. These properties can also map to a particular LDAP attribute.

The following table lists some of the commonly-used properties and the cmdlets that can be used to query their values using the -Filter parameter:

Property Name

Attribute

Cmdlets Supported

Input Value

Alias

mailNickname

Get-DistributionGroup

Get-DynamicDistributionGroup

Get-Mailbox

Get-MailContact

Get-MailPublicFolder

Get-MailUser

Get-Recipient

String/Wildcard

City

City

Get-Contact

Get-Recipient

Get-User

String/Wildcard

Company

Company

Get-Contact

Get-Recipient

Get-User ...

Get Microsoft Exchange 2010 PowerShell Cookbook 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.