Commands › Exchange Online

Get-CASMailboxPlan

Exchange Online ExchangeOnlineManagement Get-*

This cmdlet is functional only in the cloud-based service. Use the Get-CASMailboxPlan cmdlet to view Client Access services (CAS) mailbox plans in cloud-based organizations.

Quick start script

# Get-CASMailboxPlan — 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-CASMailboxPlan | Format-List

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

Syntax

Get-CASMailboxPlan [[-Identity] <MailboxPlanIdParameter>]
 [-Credential <PSCredential>]
 [-DomainController <Fqdn>]
 [-Filter <String>]
 [-IgnoreDefaultScope]
 [-ResultSize <Unlimited>]
 [-SortBy <String>]
 [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Identity MailboxPlanIdParameter The Identity parameter specifies the CAS mailbox plan that you want to view. You can use any value that uniquely identifies the CAS mailbox plan. For example:
-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.
-DomainController Fqdn This parameter is reserved for internal Microsoft use.
-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 available only in the cloud-based service.
-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.