Similarly to the -Filter parameter, there are a number of EMS cmdlets that provide a -RecipientFilter parameter which can be used to define the criteria used for dynamic distribution groups, email 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 |
AcceptMessagesOnlyFrom |
authOrig |
String/Wildcard |
ActiveSyncEnabled |
n/a |
$true or $false |
Alias |
mailNickname |
String/Wildcard |
City |
L |
String/Wildcard |
Company... |