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

Get-Recipient

Get-RemoteMailbox

String/Wildcard

City

L

Get-Contact

Get-Recipient

Get-User

String/Wildcard

Company

Get Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth 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.