Commands › Exchange Online

Get-RemoteDomain

Exchange Online ExchangeOnlineManagement Get-*

View the configuration information for the remote domains configured in your organization. You can view the remote domain configuration from inside the Exchange organization or from an Edge Transport server in the perimeter network.

Quick start script

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

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

Syntax

Get-RemoteDomain [[-Identity] <RemoteDomainIdParameter>]
 [-DomainController <Fqdn>]
 [-ResultSize <Unlimited>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity RemoteDomainIdParameter The Identity parameter specifies the remote domain that you want to view. You can use any value that uniquely identifies the remote domain. For example:
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-ResultSize Unlimited This parameter is available only in the cloud-based service.

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