Get-JournalRule (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 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>]
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.
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. |
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.
Get-JournalRule
Get-JournalRule "Brokerage Communications"