Solved

Exchange 2007 Dynamic Distribution Groups

Posted on 2011-09-07
11
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
In this video we show how to create a Distribution Group 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 >>…
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…

749 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