Commands › Exchange Online
Get-SiteMailbox
View information about site mailboxes. This cmdlet is primarily used by Microsoft SharePoint and Exchange to display information to users in the user interface. However, you mightht find it helpful for discovering information such as the site mailbox's owners, members, and lifecycle status. Site mailboxes were deprecated in Exchange Online and SharePoint Online in 2017. For more information, see Deprecation of Site Mailboxes.
Quick start script
# Get-SiteMailbox — 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-SiteMailbox | Format-List
# 3. Export for evidence / drift tracking
Get-SiteMailbox | Export-Clixml .\SiteMailbox-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-SiteMailbox [[-Identity] <RecipientIdParameter>]
[-Anr <String>]
[-BypassOwnerCheck]
[-DeletedSiteMailbox]
[-DomainController <Fqdn>]
[-ReadFromDomainController]
[-ResultSize <Unlimited>]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.