?
Solved

How to create Dynamic Group using 3 streetAddresses?

Posted on 2013-12-03
1
Medium Priority
?
241 Views
Last Modified: 2013-12-03
We have a several offices within one city and wanted to know how I can create a new "Everyone@City" Dynamic Group using 3 addresses?
300 Industry Drive
171 Industry Drive
600 Business Center Drive

Thanks
0
Comment
Question by:Admin_Stooge
[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
1 Comment
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 2000 total points
ID: 39693727
Hello,

Run this powershell command:

New-DynamicDistributionGroup -Name "Everyone@City" -RecipientFilter {(StreetAddress -eq "300 Industry Drive") -or (StreetAddress -eq "171 Industry Drive") -or (StreetAddress -eq "600 Business Center Drive")}

Open in new window


-JJ
0

Featured Post

Does Powershell have you tied up in knots?

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Shared 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 >> Sha…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses

801 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