Skip to main content
Version: 2.0.1 (preview)

Get-MtLicenseInformation

SYNOPSISโ€‹

Get license information for a Microsoft 365 product.

SYNTAXโ€‹

Get-MtLicenseInformation [-Product] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTIONโ€‹

This function retrieves the license information for a Microsoft 365 product from the current tenant.

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Get-MtLicenseInformation -Product EntraID

Returns the license type for Entra ID (e.g., Free, P1, P2, Governance).

PARAMETERSโ€‹

-Productโ€‹

The Microsoft 365 product or service plan for which to retrieve the license information.

Type: String
Parameter Sets: (All)
Aliases:

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

-ProgressActionโ€‹

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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โ€‹

System.Stringโ€‹

NOTESโ€‹

https://maester.dev/docs/commands/Get-MtLicenseInformation