Solved

Exchange 2007 Dynamic Distribution Groups

Posted on 2011-09-07
11
304 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
ID: 36500657
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
ID: 36501433
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
ID: 36506787
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 49

Expert Comment

by:Akhater
ID: 36506824
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
ID: 36506905
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
 
LVL 49

Expert Comment

by:Akhater
ID: 36506963
You mean nz or wa or nsw ?
0
 
LVL 1

Author Comment

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

Expert Comment

by:Akhater
ID: 36507005
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
ID: 36507043
Yes sorry!
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 36507054
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
ID: 36507183
You are a genius.
 
Thank you
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

815 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

11 Experts available now in Live!

Get 1:1 Help Now