Commands › Exchange Online

Get-TransportAgent

Exchange Online ExchangeOnlineManagement Get-*

View the configuration of a transport agent.

Quick start script

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

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

Syntax

Get-TransportAgent [[-Identity] <TransportAgentObjectId>]
 [-DomainController <Fqdn>]
 [-TransportService <TransportService>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity TransportAgentObjectId The Identity parameter specifies the display name of the transport agent to be displayed. The length of the name can't exceed 64 characters.
-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...
-TransportService TransportService The TransportService parameter specifies the transport service that you want to view or modify. Valid values for this parameter are:

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