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