New-ManagedFolderMailboxPolicy (RTM)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007

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

Syntax

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

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.

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.

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.

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