Solved

Dynamic Distribution List based off Email Domain

Posted on 2014-01-23
2
314 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.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

776 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