Get-DLMember
SYNOPSIS
Retrieve members of specified distribution lists (DLs) in Exchange Online.
SYNTAX
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
Retrieves the members of the distribution list `DL-Sales`.
EXAMPLE 2
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.