Commands › Exchange Online

Get-PublicFolderMailboxDiagnostics

Exchange Online ExchangeOnlineManagement Get-*

View event-level information about a public folder mailbox. This information can be used to troubleshoot public folder issues.

Quick start script

# Get-PublicFolderMailboxDiagnostics — 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-PublicFolderMailboxDiagnostics -Identity <MailboxIdParameter> | Format-List

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

Syntax

Get-PublicFolderMailboxDiagnostics [-Identity] <MailboxIdParameter>
 [-Confirm]
 [-DomainController <Fqdn>]
 [-IncludeDumpsterInfo]
 [-IncludeHierarchyInfo]
 [-WhatIf]
 [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-Identity MailboxIdParameter yes The Identity parameter specifies the identity of the public folder mailbox. The public folder mailbox is where the content of the public folder resides.
-Confirm SwitchParameter This parameter is reserved for internal Microsoft use.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-IncludeDumpsterInfo SwitchParameter The IncludeDumpsterInfo specifies whether to include diagnostic information for the \\NON\_IPM\_TREE\\DUMPSTER\_ROOT folder (the dumpster for public folder mailboxes is included in the results. You don't need to...
-IncludeHierarchyInfo SwitchParameter The IncludeHierarchyInfo switch specifies whether to include folder hierarchy information in the results. You don't need to specify a value with this switch.
-WhatIf SwitchParameter This parameter is reserved for internal Microsoft use.

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