Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-08
Use the Get-JournalRule cmdlet to view the journal configuration on a computer that has the Hub Transport server role installed.
Syntax
get-journalrule [-Identity <RuleIdParameter>]
[-DomainController <Fqdn>]
|
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
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. |
Identity |
Optional |
Microsoft.Exchange.MessagingPolicies.Rules.Tasks.RuleIdParameter |
Use this parameter to specify the rule to be viewed. Enter either the GUID or the Name of the journal rule. You can omit the Identity parameter label. |
Detailed Description
The Get-JournalRule cmdlet displays all rules that are configured for use with the Journaling agent.
To run the Get-JournalRule cmdlet, the account you use must be delegated the following:
- Exchange View-Only Administrators 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
The following examples show how to retrieve all journal rules that are configured on a Hub Transport server and how to retrieve a specific journal rule.
Copy Code | |
---|---|
Get-JournalRule Get-JournalRule "Brokerage Communications" |