Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-06-28

The Remove-UMMailboxPolicy cmdlet deletes a Unified Messaging (UM) mailbox policy.

Syntax

Remove-UMMailboxPolicy -Identity <MailboxPolicyIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.MailboxPolicyIdParameter

This parameter specifies the identifier for the UM dial plan that is being deleted. This parameter is the directory object ID for the UM dial plan.

Confirm

Optional

System.Management.Automation.SwitchParameter

This parameter causes the command to pause processing and requires that you acknowledge what the command will do before processing continues. The default value is $true.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

WhatIf

Optional

System.Management.Automation.SwitchParameter

This parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, the user can view what changes would occur without having to apply any of those changes. The default value is $true.

Detailed Description

The Remove-UMMailboxPolicy cmdlet is used to delete or remove a UM mailbox policy. If the UM mailbox policy is deleted from the Active Directory directory service, the UM mailbox policy cannot be used when configuring UM-enabled users. The UM mailbox policy cannot be deleted if the UM mailbox policy is referenced by any UM-enabled mailboxes.

To run the Remove-UMMailboxPolicy cmdlet, the account you use must be delegated the Exchange Organization Administrator role.

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

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

This example deletes a UM mailbox policy named MyUMMailboxPolicy.

Copy Code
Remove-UMMailboxPolicy -Identity MyUMMailboxPolicy