Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dynamic Distribution List based off Email Domain

Posted on 2014-01-23
2
Medium Priority
?
373 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
[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
2 Comments
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 2000 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
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…
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…
Suggested Courses

636 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