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 |
---|---|---|
mailNickname |
String/Wildcard | |
L |
String/Wildcard | |
company |
String/Wildcard | |
homeMDB |
Mailbox database Identity DN | |
displayName |
String/Wildcard | |
proxyAddresses |
E-mail address | |
targetAddress |
E-mail address | |
givenName |
String/Wildcard | |
msExchHideFromAddressLists |
$true$false | |
Sn |
String/Wildcard | |
Manager |
String/Wildcard | |
Name |
String | |
physicalDeliveryOfficeName |
String | |
SamAccountName |
String/Wildcard | |
st |
String/Wildcard | |
streetAddress |
String | |
title |
String | |
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