Skip to content

Get-DLMember

SYNOPSIS

Retrieve members of specified distribution lists (DLs) in Exchange Online.

SYNTAX

Get-DLMember [-Identity] <String[]> [<CommonParameters>]

DESCRIPTION

The `Get-DLMember` function retrieves the members of specified distribution lists (DLs) in Exchange Online. It connects to Exchange Online and uses the `Get-DistributionGroupMember` cmdlet to fetch the members.

EXAMPLES

EXAMPLE 1

Get-DLMember -Identity "DL-Sales"

Retrieves the members of the distribution list `DL-Sales`.

EXAMPLE 2

"DL-Sales", "DL-Marketing" | Get-DLMember

Retrieves the members of the distribution lists `DL-Sales` and `DL-Marketing`.

PARAMETERS

-Identity

The identity of the distribution list(s) whose members will be retrieved.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES