As you might know in Manics change environments distribution groups are relied upon heavily and to require
frequent changes.
This lesson will cover the creation of distribution groups and how to add members to groups which might
be useful when performing these tasks interactively shell or through automated scripts.
So to create a distribution group use the new distribution group command left.
As in this example new distribution group thus name sales.
Once the group has been created add and multiple members can Boddam easily use a one liner.
You could perform this with get mailbox organizational unit sales and pipe it to add discrete distribution
group member identity's sales.
We can also create distribution groups whose memberships are set dynamically as in this example you
do dynamic distribution group name accounting LLC accounting included recipient's property organizational
unit property conditional Department property and recipient can direct or property.
So there are two types of distribution groups that can be created with Exchange.
First there are regular distribution groups which contain a distant list of users.
Secondly there are dynamic distribution groups whose members are determined at the time a message is
sent.
Based on a number of conditions or filters that have been defined both types have a set of common outlets
that can be used to add remove update enable or disable these distribution groups by default when creating
a standard distribution group as a group scope will be set to Universal.
You can create a mail enabled security group using the new distribution group command led by setting
the type parameter to security.
If you do not provide a value for the tight perimeter the group will be created to you that the distribution
group type.
You can mail enable an exist in Active Directory.
Universal distribution group using the Enable distribution group command.
After creating the sales distribution group in our previous example we added all the mailboxes in the
sales over you to the group using the ADD distribution group member command led.
You can do this Imbolc for multiple users or for one user at a time you know the mamber parameter.
For example a distribution group member identity's sales member administrator dynamic distribution groups
determine their membership based on a defiant set of filters and conditions.
When we create the content distribution group we use to include recipients parameter to specify that
only the mailbox users and mail contact so object types would be included in the group.
This eliminates resource mailboxes group sound mail users from being included as member of the group
will be created in their account.
Oh you based all the well you're used in the organizational unit parameter.
Using the conditional Department parameter the group will only include two users that have a department
certain of why the accounting or finance.
Finally since the recipient contract container parameter is set to a fully qualified domain name of
the domain and a user allocated to the Active Directory could potentially be included in the group.
You can create more complex filters for dynamic distribution groups using the recipient filter.
And again you can modify both group types using the search distribution group and set dynamic distribution
group.
C'mon let's just as one we deal with other recipient types.
There are a couple of things that should be taken into consideration when it comes to removing distribution
groups.
You can remove the change attributes from a group using the disable distribution group come and let
that removed distribution group command Let will remove group object from the Active Directory and Exchange.