Commands › Exchange Online
Test-AssistantHealth
Verify that the Microsoft Exchange Mailbox Assistants service (MSExchangeMailboxAssistants) is healthy, to recover from health issues, and to report the status of the diagnosis or recovery action.
Quick start script
# Test-AssistantHealth — 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
Test-AssistantHealth | Format-List
# 3. Export for evidence / drift tracking
Test-AssistantHealth | Export-Clixml .\AssistantHealth-$(Get-Date -Format yyyyMMdd).xml
Syntax
Test-AssistantHealth [[-ServerName] <ServerIdParameter>]
[-Confirm]
[-IncludeCrashDump]
[-MaxProcessingTimeInMinutes <UInt32>]
[-MonitoringContext]
[-ResolveProblems]
[-WatermarkBehindWarningThreholdInMinutes <UInt32>]
[-WhatIf]
[<CommonParameters>]
Parameters (8)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.