And this video will have a quick recap of the mostly used commands when working with distribution groups.
So to create new distribution group using default settings Let's type in your distribution group.
For example sales won and as you remember we have a name and convention in place and the group is created
by the rules of this naming convention.
So as a result we have a deal on the score sales.
Want to create a new distribution group and set additional distribution group settings.
We can type the following in one line a new distribution group sales to display name in double quotes
sales to project LS sales to and primary S.M. to be address for the group and managed by day for example.
As you remember we can create distribution groups by Emberton information from my sis file to do it
we'll type import dustiest we Seacole on backslash users Dodson's and pipe it to forage command left
and now in curly braces will type new distribution group Desch name Dolor character underscore dord
name this type Dolor character underscore Daut type these informations should correspond to the Kolins
which are contained in use or as Dodson's the file to enable or disable distribution group to get email
from external senders.
We can use the following command to set a distribution group.
The name of the group and we have to set the value of the parameter require a.
Authentication enabled to false.
If you want to enable an external recipient to send to mail to all distribution groups you can achieve
this with the get distribution group command letter and pipe it to set distribution group is required
sender authentication enabled parameter.
Now if you want to replace existing distribution group owner place wrong the following come out.
Search distribution group identity sales to managed by Rob For example instead of Dave you can have
both of them to be onerous.
To do this typeset distribution group sales do managed by.
If you want to hide distribution group from Global Address List you can contact set distribution group.
The name of distribution group and hidden from Address List enabled set to true.
If you want to set an existing distribution group to accept mail only from a specific sender you can
use the following command set distribution group sales except messages only for on Sunday or warm at
contorts dot com and so on.
Now if you want to add to use or a recipient distribution group use distribution group member come and
left.
For example if you want to add group to sales distribution group you can specify identity's sales member
Rob.
Of course you can import distribution group members from a cease fire file.
For this you can create a wearable for example use or least retrieve limper which will be equal to import
Dutchesse see call and backslash users dulces and then perform for each command left.
For example foreach usery M.
Use a list add distribution group member identity sales member.
Use a variable dot primary S.M. to be address.
Please consider that this information should be present in your 6:5 file.
Primary seem to be dressed field.
Of course you can use or to multiple distribution groups for this you can add a new variable which will
contain the names of distribution groups.
Then again for foreach command left.
Let's say we want to add a rock to sales and sales to distribution group will type for each item in
variable which contains sales Swanand sales to name some of the distribution groups and distribution
group member identity will be taken from item a variable and member is the another useful come on let's
just get distribution group it'll show you the information about distribution groups.
If you want to if you want to get information on some specific distribution group not all of them you
can type get distribution group sales for example.
And if you want to get all members from sales distribution group you can talk good distribution group
members come and let specifying sales distribution group.
You can count the members of sales distribution group by running the following command get distribution
group member sales and Brace's dot com and if you need to get information about distribution group membership
of a specific user you can make use of the following code.
For example you want to get membership of administrator first Viret host of the users name I'll type
administrator here and then we are looking for their membership in different distribution groups in
all distribution groups for this specific user.
As you can see administrator is the member of DL marketing deal sales and sales distribution groups.
Of course it's all in their lap environment.
Just for a quick example if you want to remove a distribution group you can type remove distribution
group sales for example and add at what the parameter not to really remove this sample group.
And of course you can remove a specific member of a distribution group by type and remove distribution
group member identity sales member or Rob for example.