Solved

Exchange 2007 Dynamic Distribution Groups

Posted on 2011-09-07
11
301 Views
Last Modified: 2012-05-12
How do I create an Exchange 2007 Dynamic Distribution Group that filters only users that are listed under the Country/region = New Zealand
 
I would like to filter all users AND other OU's that fall under the following OU location only:
 
domain.com/Business Support
 
Thank you
0
Comment
Question by:the_omnific
  • 6
  • 5
11 Comments
 
LVL 1

Author Comment

by:the_omnific
Comment Utility
Or perhaps even better: filter only other Dynamic Distribution Groups that have the letters NZ in the name.

Under: domain.com/Business Support - only
0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
New-DynamicDistributionGroup -Name "name" -OrganizationalUnit "domain.com/Business Support" -RecipientFilter {(RecipientType -eq 'DynamicDistributionGroup' -and DisplayName -like '*nz*')}
0
 
LVL 1

Author Comment

by:the_omnific
Comment Utility
Thank you. But the following is listing all DynamicDistributionGroups with NZ in the name. I just want to filter DynamicDistributionGroups that come under domain.com/Business Support and any additional OU's in Business Support.
   
Any ideas?
0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
Dont trust the preview, it is a bug. Try it it works only for groups in the specified OU
0
 
LVL 1

Author Comment

by:the_omnific
Comment Utility
Haha. Stupid Microsoft. I suppose it does actually say 'Select the recipient container where you want to apply this filter'
 
How do I amend it to filter: NZ, WA, NSW
0
Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

 
LVL 49

Expert Comment

by:Akhater
Comment Utility
You mean nz or wa or nsw ?
0
 
LVL 1

Author Comment

by:the_omnific
Comment Utility
Sorry I mean: nz + wa + nsw
 
Thank you!
0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
Sorry I still dont get it, you mean groups with names includes nz or wa or nsw?
0
 
LVL 1

Author Comment

by:the_omnific
Comment Utility
Yes sorry!
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
Comment Utility
New-DynamicDistributionGroup -Name "name" -OrganizationalUnit "domain.com/Business Support" -RecipientFilter {(RecipientType -eq 'DynamicDistributionGroup' -and (DisplayName -like '*nz*' -or DisplayName -like '*wa*' -or DisplayName -like '*nsw*'))}


From the top of my head try it
0
 
LVL 1

Author Comment

by:the_omnific
Comment Utility
You are a genius.
 
Thank you
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now