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

Use the Remove-JournalRule cmdlet to remove an existing journal rule on a computer that has the Microsoft Exchange Server 2007 Hub Transport server role installed.

Syntax

remove-journalrule -Identity <RuleIdParameter> [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.MessagingPolicies.Rules.Tasks.RuleIdParameter

Use this parameter to specify the rule to be removed. Enter either the GUID or the name of the journal rule. You can omit the Identity parameter label.

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.

Detailed Description

The Remove-JournalRule cmdlet removes a specified journal rule that is no longer used by the Journaling agent.

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

The following example shows how to remove a journal rule that is no longer needed.

Copy Code
Remove-JournalRule "Brokerage Communications"