Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

Dynamic Distribution List based off Email Domain

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
mhmservices
Asked:
mhmservices
1 Solution
 
Jamie McKillopIT ManagerCommented:
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
 
mhmservicesAuthor Commented:
Thanks JJ, sorry for the delay but I appreciate it very much!
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now