Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-11-19

Use the Get-ManagedContentSettings cmdlet to retrieve managed content settings associated with managed folders.

Syntax

Get-ManagedContentSettings [-Identity <ELCContentSettingsIdParameter>] [-DomainController <Fqdn>] [-Organization <OrganizationIdParameter>]
Get-ManagedContentSettings [-DomainController <Fqdn>] [-FolderName <ELCFolderIdParameter>] [-Organization <OrganizationIdParameter>]

Detailed Description

The Get-ManagedContentSettings cmdlet retrieves from one to all of the managed content settings. You can also retrieve only the managed content settings associated with a specified managed folder.

If only the Identity parameter is present, the folder content settings and all associated attributes are returned. If the Identity parameter isn't present, the command returns all content settings. If the FolderName parameter is present, the command returns all content settings contained in the specified managed folder and all the attributes of each setting.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Messaging records management" entry in the Messaging Policy and Compliance Permissions topic.

Parameters

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

FolderName

Optional

Microsoft.Exchange.Configuration.Tasks.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.

Note:
This parameter can't be used with the Identity parameter.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.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.

Note:
This parameter can't be used with the FolderName parameter.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

Examples

EXAMPLE 1

This example uses the Get-ManagedContentSettings cmdlet without parameters to obtain all managed content settings. The output of the Get-ManagedContentSettings cmdlet is piped to the Format-List cmdlet so that all the available information is displayed in the result.

Copy Code
Get-ManagedContentSettings | Format-List

EXAMPLE 2

This example retrieves the managed content settings Inbox Settings.

Copy Code
Get-ManagedContentSettings -Identity "Inbox Settings"

EXAMPLE 3

This example retrieves the managed content settings for the managed folder Inbox.

Copy Code
Get-ManagedContentSettings -FolderName "Inbox"