Get-DistributionGroup cmdlet gets information on a distribution group.

Input parameters

#

Parameter

Type

Mandatory (R/O)

Description

Valid Values
1 Authentication information (all parameters)  

2

Identity

(aliases: GUID, DistinguishedName, EmailAddress)

string

O

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
3 EmailAddress Primary Email address of the distribution group
3 ResultSize int O This parameter specifies the maximum number of results to return  

Output parameters

DistributionGroupInfo

Examples of using Get-DistributionGroup cmdlet

Getting the distribution group (list) by EmailAddress:

Get-DistributionGroup -Identity group@accountname.hostpilot.com

Lookup of distribution groups (lists) by Identity with wildcard:

Get-DistributionGroup -Identity *group*