Remove-DistributionGroup cmdlet deletes the distribution group , members of this group will not be deleted.

This cmdlet supports risk-mitigation parameters.

Input parameters

#
Parameter
Type

Mandatory (R/O)

Description
Valid Values
1 Authentication Information (all parameters)  
2

Identity

(aliases: GUID, DistinguishedName)

string R

A property, that is used for managing the distribution group

Value of one of these parameters can be used as Identity:

#ParameterDescription
1 GUID Globally Unique Identifier (ObjectGuid)
2 DistinguishedName Unique name of the object in Active Directory

Output parameters

No parameters

Example of using Remove-DistributionGroup cmdlet

Remove-DistributionGroup -Identity "3eb884d2-edb7-4bfe-99d7-c94cc9a2d2e2"