In many Exchange environments, distribution groups are relied upon heavily and require frequent changes. This recipe will cover the creation of distribution groups and how to add members to groups, which might be useful when performing these tasks interactively in the shell or through automated scripts.
New-DistributionGroup -Name Sales
Get-Mailbox -OrganizationalUnit Sales | Add-DistributionGroupMember -Identity Sales
New-DynamicDistributionGroup -Name ...