Excluding specific email addresses from a dynamic distribution group
Hi all, How do I exclude specific email addresses from an existing dynamic distribution group for Exchange 2007 server? Thanks in advance for your help. Best regards
December 10th, 2008 8:01pm

Hi Torx, You need to add the filter to exclude the user in existing RecipientFilter of your Dynamic DG with Set-DynamicDistributionGroup. Lets say you have a DDG for all users with RecipientType = UserMailbox then your RecipientFilter would be like below. -RecipientFilter {((RecipientType -eq 'UserMailbox') -and -not(Name -like 'ExcludeingUserName'))} Reference: Set-DynamicDistributionGroup http://technet.microsoft.com/en-us/library/bb123796.aspx Dynamic Distribution Group Properties > Filter Tab http://technet.microsoft.com/en-us/library/aa997950.aspx
Free Windows Admin Tool Kit Click here and download it now
December 10th, 2008 8:45pm

ThanksAmit Tank forpointingme the right direction, but I'm missingsomething as it didn't work. The username is jdoe as in John Doe. This is what's listed on the DDG's recipient filter:((RecipientType -eq 'UserMailbox' -and -not(Name -like 'jdoe')) -and -not(Name -like 'SystemMailbox{*') -and -not(Name -like 'CAS_{*'))
December 12th, 2008 6:24am

- Give full name in the filter ''John Doe"- Does it show when you view the member of this group?How to View Members of a Dynamic Distribution Grouphttp://technet.microsoft.com/en-us/library/bb232019.aspx- How long did you wait after changing it? It takes upto 2 hours to make it effective since cache information updates every 2 hours.Amit Tank || MVP - Exchange || MCITP - Exchange 2007 || http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
December 12th, 2008 8:26am

Thanks so much Amit! It worked flawlessly.
December 12th, 2008 7:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics