Solved

Dynamic Distribution List based off Email Domain

Posted on 2014-01-23
2
308 Views
Last Modified: 2014-02-11
Hi everyone,
           I received a request to create a DDL for everyone in my company with a "@company5.com" email address.  My exchange server (Exchange 2010, SP1) is setup to accept mail for "@company1.com" thru "@company9.com" domains (authoritative, non default).  I've researched this quite a bit and couldn't find anything out there.  Anyone have experience with this?  Thanks,

Pat
0
Comment
Question by:mhmservices
2 Comments
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 500 total points
ID: 39804617
Hello,

You would create it with a command like this:

New-DynamicDistributionGroup -Name "DG Name" -RecipientFilter {(proxyaddresses -like '*@company5.com*')}

Open in new window


-JJ
1
 

Author Closing Comment

by:mhmservices
ID: 39850269
Thanks JJ, sorry for the delay but I appreciate it very much!
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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create a Contact 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 >> Contact ta…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

896 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

14 Experts available now in Live!

Get 1:1 Help Now