Static Distribution Lists are created and managed manually by group administrators which take a lot of time and overhead.
Dynamic distribution lists are filtered automatically based on the predefined user attributes. It is very easy to manage dynamic distribution group saving overhead and costs to manage them.
To create a static distribution list called StaticDL, you can use the following Exchange commandlet:
New-DistributionGroup -Name "TechStaticDL" -OrganizationalUnit "techpeoples.net/users" -SAMAccountName "StaticDL" -Type "Distribution"
To add a user called "mike" to the static distribution list, you can use the following Exchange commandlet:
Add-DistributionGroupMember -Identity "TechStaticDL" -Member mike@techpeoples.net
To create a dynamic distribution list for all mail users of an OU called MailUsers, you can use the following Exchange commandlet:
New-DynamicDistributionGroup -IncludedRecipients MailboxUsers -Name "TechDynamicDL" -OrganizationalUnit MailUsers
Although you can create distribution groups with Exchange Management Console too, it is more comfortable to use the Exchange Management Console for this task.
No comments:
Post a Comment