Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Properties that can be used with the RecipientFilterparameter


There are a number of EMS cmdlets that provide a -RecipientFilter parameter and can be used to define the criteria used for dynamic distribution groups, e-mail address policies, and address lists. The following cmdlets support this parameter:

  • New-AddressList

  • New-DynamicDistributionGroup

  • New-EmailAddressPolicy

  • New-GlobalAddressList

  • Set-AddressList

  • Set-DynamicDistributionGroup

  • Set-EmailAddressPolicy

  • Set-GlobalAddressList

The following table lists some of the common properties used when creating a recipient filter using the -RecipientFilter parameter:

Property Name

LDAP Attribute

Input Value

Alias

mailNickname

String/Wildcard

City

L

String/Wildcard

Company

company

String/Wildcard

Database

homeMDB

Mailbox database

Identity

DN

DisplayName

displayName

String/Wildcard

EmailAddresses

proxyAddresses

E-mail address

ExternalEmailAddress

targetAddress

E-mail address

FirstName

givenName

String/Wildcard

HiddenFromAddressListsEnabled

msExchHideFromAddressLists

$true$false

LastName

Sn

String/Wildcard

Manager

Manager

String/Wildcard

Name

Name

String

Office

physicalDeliveryOfficeName

String

SamAccountName

SamAccountName

String/Wildcard

StateOrProvince

st

String/Wildcard

StreetAddress

streetAddress

String

Title

title

String

UserPrincipalName

userPrincipalName

User logon name

User principal name/Wildcard

The preceding table only includes a list of commonly used filterable properties that can be used with the -RecipientFilter parameter. In addition to this list, there are several other properties that can be filtered. See this article in the TechNet documentation for a complete list:

http://technet.microsoft.com/en-us/library/bb738157(EXCHG.80).aspx