Muokkaa

Jaa


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

Get-ManagedContentSettings
   [-FolderName <ELCFolderIdParameter>]
   [-DomainController <Fqdn>]
   [<CommonParameters>]
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 topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not 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

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.

Type:Fqdn
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2010

-FolderName

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.

Type:ELCFolderIdParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Server 2010

-Identity

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.

Type:ELCContentSettingsIdParameter
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Server 2010

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.