Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-05

Use the Set-ManagedFolderMailboxPolicy cmdlet to change the settings of Managed Folder Mailbox Policies.

Syntax

set-ManagedFolderMailboxPolicy -Identity <MailboxPolicyIdParameter> [-DomainController <Fqdn>] [-ManagedFolderLinks <ELCFolderIdParameter[]>] [-Name <String>]
set-ManagedFolderMailboxPolicy [-DomainController <Fqdn>] [-Instance <ManagedFolderMailboxPolicy>] [-ManagedFolderLinks <ELCFolderIdParameter[]>] [-Name <String>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.MailboxPolicyIdParameter

The Identity parameter specifies the name, distinguished name, or GUID of the managed folder mailbox policy.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that retrieves data from the Active Directory directory service, include the DomainController parameter in the command.

Instance

Optional

Microsoft.Exchange.Data.Directory.SystemConfiguration.ManagedFolderMailboxPolicy

The Instance parameter enables you to pass an entire object to the command to be processed. It is mainly used in scripts where an entire object must be passed to the command.

ManagedFolderLinks

Optional

Microsoft.Exchange.Configuration.Tasks.ELCFolderIdParameter[]

The ManagedFolderLinks parameter specifies managed folders to which the Managed Folder Mailbox Policy is to be linked. The managed folders that you link to a policy appear in all mailboxes to which the policy is applied.

Name

Optional

System.String

The Name parameter specifies a unique name for the policy.

Detailed Description

To run the Set-ManagedFolderMailboxPolicy cmdlet, the account you use must be delegated the following:

  • Exchange Organization Administrator role

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Input Types

Return Types

Errors

Error Description

Exceptions

Exceptions Description

Example

In the first example, the Set-ManagedFolderMailboxPolicy command is used to change the name of the Managed Folder Mailbox Policy that is named PM Storage Template1 to PM Storage Template2.

In the second example, the Set-ManagedFolderMailboxPolicy command is used to link the managed custom folders that are named Custom Folder 1 and Custom Folder 2 to the Managed Folder Mailbox Policy that is named My Managed Folder Mailbox Policy.

Copy Code
Set-ManagedFolderMailboxPolicy "PM Storage Template1" -Name "PM Storage Template2"

Set-ManagedFolderMailboxPolicy -Identity "My Managed Folder Mailbox Policy" -ManagedFolderLinks "Custom Folder 1", "Custom Folder 2"