Commands › Exchange Online

Get-ExchangeDiagnosticInfo

Exchange Online ExchangeOnlineManagement Get-*

Return information about processes that are running on Exchange servers.

Quick start script

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

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

Syntax

Get-ExchangeDiagnosticInfo [-Argument <String>]
 [-Component <String>]
 [-Process <String>]
 [-Server <ServerIdParameter>]
 [-Unlimited]
 [<CommonParameters>]

Parameters (5)

ParameterTypeRequiredWhat it controls
-Argument String The Argument parameter specifies a valid argument to use with the specified Component value.
-Component String The Component parameter returns detailed information for the specified Component of the given Process value.
-Process String The Process parameter provides details for the specified Exchange process. Valid values are the name of the process (for example, MSExchangeTransport or Microsoft.Exchange.Directory.TopologyService).
-Server ServerIdParameter The Server parameter specifies the Exchange server where you want to run this command. You can use any value that uniquely identifies the server. For example:
-Unlimited SwitchParameter The Unlimited switch tells the command to return all available information. You don't need to specify a value with this switch.

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