Properties that can be used with the Filter parameter

There are a number of EMS cmdlets that provide a -Filter parameter that 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, and Get-Recipient.

String/Wildcard

City

City

Get-Contact, Get-Recipient, and Get-User.

String/Wildcard

Company

Company

Get-Contact, Get-Recipient, ...

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.