Share via


Remove-UMDialplan (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

The Remove-UMDialplan cmdlet deletes an existing Unified Messaging (UM) dial plan.

Syntax

Remove-UMDialPlan -Identity <UMDialPlanIdParameter> [-DomainController <Fqdn>]

Detailed Description

The Remove-UMDialplan cmdlet is used to delete an existing UM dial plan from Active Directory. The administrator must make sure that the UM dial plan is not being used by other UM objects such as UM mailbox policies or UM IP gateways. When you are deleting an existing UM dial plan, the cmdlet verifies that the specified UM dial plan is not referenced by a Unified Messaging server, UM IP gateway, or UM mailbox policies. The only benefit gained from deleting an obsolete UM dial plan is to reuse the name or perform general Active Directory housekeeping.

To run the Remove-UMDialplan 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

Identity

Required

Microsoft.Exchange.Configuration.Tasks.UMDialPlanIdParameter

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

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter on the cmdlet.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

This example deletes an existing UM dial plan named MyUMDialPlan.

Remove-UMDialplan -Identity MyUMDialPlan