Friday, March 15, 2013

Exclude a single user from a Dynamic Distribution Group in Exchange 2007

By default the Exchange Management Console only shows a fairly limited view of the filtering possibilities for generating Dynamic Distribution Groups. The PowerShell based Exchange Management Shell can be used for much finer grained control of these group filters.

1. Open EMS - Open the start menu and type exchange. Select Exchange Management Shell.
2. Enter the following command: Set-DynamicDistributionGroup -Identity "Group Name" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and -not(Name -like 'Display Name'))}
3. Double check the new filter - Open the filters pane of the group properties in EMC and check that it was updated correctly.

The filter pane in the group properties will now show the full filter rather than the simplified checkbox display.

No comments:

Post a Comment