Skip to content

Get-DLManager

SYNOPSIS

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

SYNTAX

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

DESCRIPTION

The `Get-DLManager` function retrieves the managers of specified distribution lists (DLs) in Exchange Online. It uses the `Get-DL` function to fetch the distribution list details and extracts the `ManagedBy` property.

EXAMPLES

EXAMPLE 1

Get-DLManager -Identity "DL-Sales"

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

EXAMPLE 2

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

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

PARAMETERS

-Identity

The identity of the distribution list(s) whose managers 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