Commands › Exchange Online

Get-AddressRewriteEntry

Exchange Online ExchangeOnlineManagement Get-*

This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Get-AddressRewriteEntry cmdlet to view an existing address rewrite entry that rewrites sender and recipient email addresses in messages sent to or sent from your organization through an Edge Transport server.

Quick start script

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

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

Syntax

Get-AddressRewriteEntry [[-Identity] <AddressRewriteEntryIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity AddressRewriteEntryIdParameter The Identity parameter specifies the address rewrite entry to be retrieved. The Identity parameter accepts a GUID or the unique address rewrite name. You can omit the Identity parameter label.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...

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