Commands › Exchange Online

Get-ManagedFolder

Exchange Online ExchangeOnlineManagement Get-*

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)

ParameterTypeRequiredWhat it controls
-Identity ELCFolderIdParameter The Identity parameter specifies the name, distinguished name (DN), or GUID of the managed folder.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-Mailbox MailboxIdParameter The Mailbox parameter specifies the mailbox that you want to view. You can use any value that uniquely identifies the mailbox. For example:

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