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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.