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

Use the New-ManagedFolderMailboxPolicy cmdlet to create a new managed folder mailbox policy.

Syntax

new-ManagedFolderMailboxPolicy -Name <String> [-DomainController <Fqdn>] [-ManagedFolderLinks <ELCFolderIdParameter[]>] [-TemplateInstance <PSObject>]

Parameters

Parameter Required Type Description

Name

Required

System.String

The Name parameter specifies the name of the new 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.

ManagedFolderLinks

Optional

Microsoft.Exchange.Configuration.Tasks.ELCFolderIdParameter[]

The ManagedFolderLinks parameter specifies the list of managed folders to which the managed folder mailbox policy is to be linked.

TemplateInstance

Optional

System.Management.Automation.PSObject

When an existing object is supplied to the TemplateInstance parameter, the command uses the configuration of that object to create an exact duplicate of the object on a local or target server.

Detailed Description

To run the New-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 this example, the New-ManagedFolderMailboxPolicy command is used to create the managed folder mailbox policy named My Managed Folder Mailbox Policy, with a list of managed folders to which the managed folder mailbox policy is to be linked.

Copy Code
New-ManagedFolderMailboxPolicy -Name "My Managed Folder Mailbox Policy" -ManagedFolderLinks Inbox, MyFolder