

Selecting the OU for this purpose applies only when creating dynamic distribution groups, and not when creating email address policies, address lists, or GALs. When creating a precanned filter, you should ask the following questions:įrom which organizational unit (OU) do you want to include recipients? (This question corresponds to the RecipientContainer parameter.) The syntax in this example is similar but not identical to the syntax you would use to create an email address policy, address list, or GAL. This example describes using precanned filters in the Exchange Management Shell to create a dynamic distribution group. Precanned filters are available for the following cmdlets: ConditionalCustomAttribute1 to ConditionalCustomAttribute15.

The following parameters are considered precanned filters: For more information, see Custom Attributes. Add conditional filtering based on properties such as company, department, and state or region.Using precanned filters, you can do the following: With precanned filters, you can use either the Exchange PowerShell or the Exchange admin center (EAC). Precanned filtersĪ precanned filter is a commonly used Exchange filter that you can use to meet a variety of recipient-filtering criteria for creating dynamic distribution groups, email address policies, address lists, or GALs. OPATH filtering syntax replaced LDAP filtering syntax starting in Exchange Server 2007. Older versions of Exchange used LDAP filtering syntax to create custom address lists, global address lists (GALs), email address policies, and distribution groups. Custom filters using the ContentFilter parameter.Custom filters using the Filter parameter.Custom filters using the RecipientFilter parameter.The cmdlets in the Exchange Management Shell and Exchange Online PowerShell support a variety of filters in recipient related cmdlets:
