Commands › Exchange Online

Get-JournalRule

Exchange Online ExchangeOnlineManagement Get-*

View the journal rules in your organization.

Quick start script

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

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

Syntax

Get-JournalRule [[-Identity] <RuleIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity RuleIdParameter The Identity parameter specifies the rule you want to view. Enter either the name or the GUID of the journal rule. You can omit the parameter label.
-DomainController Fqdn This parameter is available only in on-premises Exchange.

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