Commands › Exchange Online
Get-CalendarDiagnosticAnalysis
Although Use the Get-CalendarDiagnosticAnalysis cmdlet to troubleshoot calendar-related reliability issues. You can use this cmdlet to analyze calendar item data that's recorded in the Calendar Diagnostic logs. You provide the calendar item data to this cmdlet by using the Get-CalendarDiagnosticLog cmdlet.
Quick start script
# Get-CalendarDiagnosticAnalysis — 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-CalendarDiagnosticAnalysis -CalendarLogs <CalendarLog[]> -LogLocation <String[]> | Format-List
# 3. Export for evidence / drift tracking
Get-CalendarDiagnosticAnalysis | Export-Clixml .\CalendarDiagnosticAnalysis-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
DefaultSet
Get-CalendarDiagnosticAnalysis -CalendarLogs <CalendarLog[]>
[-DetailLevel <AnalysisDetailLevel>]
[-GlobalObjectId <String>]
[-OutputAs <OutputType>]
[<CommonParameters>]
LocationSet
Get-CalendarDiagnosticAnalysis -LogLocation <String[]>
[-DetailLevel <AnalysisDetailLevel>]
[-GlobalObjectId <String>]
[-OutputAs <OutputType>]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.