Commands › Exchange Online

Get-OwaMailboxPolicy

Exchange Online ExchangeOnlineManagement Get-*

View Outlook on the web mailbox policies in the organization.

Quick start script

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

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

Syntax

Get-OwaMailboxPolicy [[-Identity] <MailboxPolicyIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity MailboxPolicyIdParameter The Identity parameter specifies the mailbox policy that you want to view. You can use any value that uniquely identifies the policy. For example:
-DomainController Fqdn This parameter is available only in on-premises Exchange.

Message Center changes mentioning this command

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