Exchange Management Shell
provides two cmdlets for working with diagnostic logging:
Get-EventLogLevel
Set-EventLogLevel
Use the Get-EventLogLevel cmdlet to confirm the current diagnostic logging level, known as the
EventLevel setting, for a given Exchange component. Component names are arranged by ??? category
name\component name. ??? There are more than 30 component categories, some of which also have
subcategories. To display a list of all categories and their components, enter Get-EventLogLevel
without any parameters.
??‘
??‘
Chapter 2: Using Exchange Management Shell
63
To determine the current EventLevel of a given component, use Get-EventLogLevel followed by the
name of the component category, or the name of the specific component. For example, to display the
current diagnostic level for the Autodiscover category, use the following command:
[PS] C:\ > Get-EventLogLevel ???msexchange autodiscover???
Identity EventLevel
-------- ----------
msexchange autodiscover\Core Lowest
msexchange autodiscover\Web Lowest
msexchange autodiscover\Provider Lowest
Notice that the name of the category is encapsulated in quotes because it contains spaces. There are three
components under the Autodiscover category: Core , Web , and Provider . To display the EventLevel of
an individual component, use the full identity (category name\component name) as input to
Get-EventLogLevel .
Pages:
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122