Commands › Exchange Online

Get-MailboxPlan

Exchange Online ExchangeOnlineManagement Get-*

View information about mailbox plans in the cloud-based service.

Quick start script

# Get-MailboxPlan — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-MailboxPlan | Format-List

# 3. Export for evidence / drift tracking
Get-MailboxPlan | Export-Clixml .\MailboxPlan-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-MailboxPlan [[-Identity] <MailboxPlanIdParameter>]
 [-AllMailboxPlanReleases]
 [-Credential <PSCredential>]
 [-Filter <String>]
 [-IgnoreDefaultScope]
 [-ResultSize <Unlimited>]
 [-SortBy <String>]
 [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Identity MailboxPlanIdParameter The Identity parameter specifies the mailbox plan that you want to view. You can use any value that uniquely identifies the mailbox plan. For example:
-AllMailboxPlanReleases SwitchParameter The AllMailboxPlanReleases switch specifies whether to include mailbox plans that were used in previous versions of the service in the results. You don't need to specify a value with this switch.
-Credential PSCredential The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
-Filter String The Filter parameter uses OPATH syntax to filter the results by the specified properties and values. The search criteria uses the syntax `"Property -ComparisonOperator 'Value'"`.
-IgnoreDefaultScope SwitchParameter This parameter is reserved for internal Microsoft use.
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
-SortBy String The SortBy parameter specifies the property to sort the results by. You can sort by only one property at a time. The results are sorted in ascending order.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.