Share via


Remove-MessageClassification (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 Remove-MessageClassification cmdlet to delete an existing message classification instance in your Exchange organization.

Syntax

remove-MessageClassification -Identity <MessageClassificationIdParameter> [-DomainController <Fqdn>]

Detailed Description

To run the Remove-MessageClassification 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 Microsoft Exchange Server 2007, see Permission Considerations.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.MessageClassificationIdParameter

Valid input for the Identity parameter is the Name parameter for the message classification instance that you want to remove. When you specify a name that includes spaces, you must enclose the whole name in quotation marks, as follows, for example, "Administrative Name".

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter on the command. The DomainController parameter is not supported on computers that have the Edge Transport server role installed. The Edge Transport server role only writes to and reads from the local Active Directory Application Mode (ADAM) instance.

Example

The following code example shows the Remove-MessageClassification command that has the required parameter.

Remove-MessageClassification -Identity "Administrative Name"