This cmdlet requires that the identity of the group to be mail - enabled be specified. The identity
parameter can be the GUID of the group, Distinguished Name, or ???Domain\Account name??? :
Enable-DistributionGroup -Identity ???ExchUSG1 Group???
As with all other Recipient objects discussed, using the Remove cmdlet removes not only the
mail - enabled properties but also the object itself from Active Directory. It is the same with Distribution
Chapter 4: Working with User and Group Objects
129
Groups. Use the Remove-DistributionGroup cmdlet to remove a Distribution Group from Active
Directory. This cmdlet requires the identity of the group object to be specified.
Group objects have members and any Recipient type including other groups can be members
of a Distribution or Security Group. Using the Exchange Management Shell, you can add members
to or remove members from a Group object. This can be accomplished using the
Add-DistributionGroupMember and Remove-DistributionGroupMember cmdlets. When
removing a member from a group, you are prompted to confirm the removal before the member is
removed. Both cmdlets have three parameters, with Identity and Member being required parameters;
DomainController is an optional parameter:
Add-DistributionGroupMember -Identity ???ExchUDG??? -Member amy@ExchangeExchange.
Pages:
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225