Creating a dynamic distribution group

Creating a dynamic distribution group

Distribution groups play an important role in organizations that run Microsoft Exchange. Creation and modification/management of these groups can either be done using the Exchange Admin Center or using PowerShell if you are more comfortable with the latter.
 
In this article, we will take a look at how you can create a dynamic distribution group. This is a simple process, and it can be done using the New-DynamicDistributionGroup cmdlet. The following script will let you create a dynamic distribution group that contains mailbox users only from the user's OU:
 
  1. PS> New-DynamicDistributionGroup -IncludedRecipients MailboxUsers -Name MailboxUsersDDG -OrganizationalUnit Users