Commands › Exchange Online
Get-HealthReport
Return health information for the Exchange server that you specify. You can use the health values to determine the state of the server. The cmdlet also returns an alert value that provides the specific state of your server.
Quick start script
# Get-HealthReport — 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-HealthReport -Identity <ServerIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Get-HealthReport | Export-Clixml .\HealthReport-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-HealthReport [-Identity] <ServerIdParameter>
[-GroupSize <Int32>]
[-HaImpactingOnly]
[-HealthSet <String>]
[-MinimumOnlinePercent <Int32>]
[-RollupGroup]
[<CommonParameters>]
Parameters (6)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.