Edit

Share via


Get-ManagedContentSettings

This cmdlet is available only in Exchange Server 2010.

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

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

FolderName

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

Identity

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

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 this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-ManagedContentSettings | Format-List

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.

Example 2

Get-ManagedContentSettings -Identity "Inbox Settings"

This example retrieves the managed content settings Inbox Settings.

Example 3

Get-ManagedContentSettings -FolderName "Inbox"

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

Parameters

-DomainController

Applicable: Exchange Server 2010

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 (FQDN). For example, dc01.contoso.com.

Parameter properties

Type:Fqdn
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FolderName

Applicable: Exchange Server 2010

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.

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

Parameter properties

Type:ELCFolderIdParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FolderName
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Applicable: Exchange Server 2010

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.

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

Parameter properties

Type:ELCContentSettingsIdParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:1
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

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.

Outputs

Output 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.