Windows Exchange Server tips and solutions

Exchange distribution groups

Dynamic query-based distribution groups

The setup and maintenance of dynamic distribution groups is greatly reduced for the help desk. Because these types of groups are built dynamically, this means that the users are added via filters and rules and not, as with conventional groups, become a static member.

Dynamic query-based distribution groups

Filters and rules can also be combined. The disadvantage of using these dynamic distribution groups is that they trigger increased LDAP requests each time an email is sent. This group is basically without members until it is used. The members of the dynamic group must first be determined by processing filters and rules, and at the expense of performance.

Dynamic distribution group rules

The dynamic distribution groups can be created and managed via the Powershell.

Here are two examples of what an LDAP query can look like to determine the members as recipients.

Exchange dynamic distribution group

The query is getting longer and longer.

Exchange dynamic distribution group ldap query

Create a dynamic distribution group

New-DynamicDistributionGroup -Name “DYNVL2” -RecipientFilter {EmailAddresses -like “*@dwp.local”}

Create dynamic distribution group powershell

To start a query, who is now a member of the DYNVL2 group:

$ groupMember = Get-DynamicDistributionGroup “DYNVL2”
Get-Recipient -RecipientPreviewFilter $ groupMember.RecipientFilter

DynamicDistributionGroup RecipientPreviewFilter

It is clear to see that the result is not yet satisfactory. There are duplicate and useless receivers. When creating, you should pay close attention to how the filters and rules are configured.

Exchange dynamic distribution group performance killer

Exchange static mapping of a DC or GC