Share via


Get-EventLogLevel

 

Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Use the Get-EventLogLevel cmdlet to display a list of categories and their logging level for a specified Microsoft Exchange server.

Syntax

Get-eventloglevel [-Identity <ECIdParameter>] [-DomainController <Fqdn>]

Get-eventloglevel -Server <ServerIdParameter> [-DomainController <Fqdn>]

Detailed Description

You can specify either the Server or Identity parameter, but not both.

To run the Get-EventLogLevel cmdlet, the account you use must be delegated the following:

  • Exchange View-Only 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

Server

Required

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The Server parameter specifies the server for which event log categories will be retrieved.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.ECIdParameter

The Identity parameter specifies the name of the event logging category to display.

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.

Input Types

Return Types

Errors

Error Description

Exceptions

Exceptions Description

Example

This example displays the event logging level for the server, Exchange01.

Get-EventLogLevel -Server "Exchange01"