Commands › Exchange Online
Get-ManagedFolder
Retrieve the attributes of one or more managed folders.
Quick start script
# Get-ManagedFolder — 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-ManagedFolder | Format-List
# 3. Export for evidence / drift tracking
Get-ManagedFolder | Export-Clixml .\ManagedFolder-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Identity
Get-ManagedFolder [[-Identity] <ELCFolderIdParameter>]
[-DomainController <Fqdn>]
[<CommonParameters>]
Mailbox
Get-ManagedFolder [-Mailbox <MailboxIdParameter>]
[-DomainController <Fqdn>]
[<CommonParameters>]
Parameters (3)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.