Microsoft KB Archive/931735

From BetaArchive Wiki
Knowledge Base


The operation is not successful when you try to use an asterisk (*) in the "Get-EventLogLevel" command in the Exchange Management Shell in Exchange Server 2007

Article ID: 931735

Article Last Modified on 5/10/2007



APPLIES TO

  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition



SYMPTOMS

You try to use an asterisk (*) in the Get-EventLogLevel command in the Exchange Management Shell in Microsoft Exchange Server 2007 to find all objects in the MSExchangeIS Event Source. When you do this, the operation is not successful.

CAUSE

This problem occurs when the asterisk is used in the Get-EventLogLevel command for the SubEventSource or Category part of the ECIdParameters parameter.

In the Exchange Management Shell, the ECIdParameters parameters are marked as having the following format:

EventSource\SubEventSource\Category


You can use asterisks in the Get-EventLogLevel command for the Event Source part of the ECIdParameter parameters. However, you cannot use asterisks in the Get-EventLogLevel command for the SubEventSource part or for the Category part.

For example, you can use the following Get-EventLogLevel command to find all objects in the MSExchangeIS Event Source.

Get-EventLogLevel MSExchangeIS*

However, you cannot use the following command directly to find all categories in the 9000 Private sub-event source of the MSExchangeIS Event Source in the Exchange Management Shell.

Get-EventLogLevel MSExchangeIS\9000 Private\*

WORKAROUND

To work around this problem, use one of the following commands in the Exchange Management Shell.

Get-EventLogLevel MSExchangeIS\9000*\*
Get-EventLogLevel *\*9000*\*

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Additional query words: cmdlet CM70253

Keywords: kbtshoot kbexpertiseinter kbprb KB931735