Commands › Exchange Online

Get-ManagedContentSettings

Exchange Online ExchangeOnlineManagement Get-*

Retrieve managed content settings associated with managed folders.

Quick start script

# Get-ManagedContentSettings — 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-ManagedContentSettings | Format-List

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

Syntax — 2 parameter sets

FolderName

Get-ManagedContentSettings [-FolderName <ELCFolderIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Identity

Get-ManagedContentSettings [[-Identity] <ELCContentSettingsIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity ELCContentSettingsIdParameter The Identity parameter specifies the name, distinguished name (DN), or GUID of the set of managed content settings. When used, this command retrieves the folder content settings and all associated attributes.
-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...
-FolderName ELCFolderIdParameter The FolderName parameter specifies the name or GUID of the managed folder to which the managed content settings apply. When used, this command retrieves all the policies that apply to that folder.

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