Updating Dynamic Distribution Groups in Exchange 2010
To configure a Dynamic Distribution Group in Exchange 2010, you can do it in two ways:
1. From EMC
in Recipient Configuration > Distribution Group, right click on a existing Dynamic Distribution Group and select Properties. Go to Filter and Conditions tabs and select the appropriate settings.
2. From EMS
you will only find a few conditions/filters that you can choose from in the GUI. So you will have to use EMS to fine tune your DDG.
For example, if you want to filter the members of a Dynamic Distribution Group by city, you can use it to query users that have the City attribute assigned.
To change the existing Dynamic Distribution Group which uses LDAP filter to use OPATH filter you use:
Set-DynamicDistributionGroup -Identity "GROUPNAME" -RecipientFilter {(Alias -ne $null -and City -like 'Bucharest') -and -not(Name -like 'SystemMailbox{*') -and -not(Name -like 'CAS_{*')}All the users that have Bucharest as the City attribute will be members of this Distribution Group.
Labels: Active Directory, Exchange 2010, IT, Microsoft