logman query
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Queries data collector or data collector set properties.
Syntax
logman query [providers|Data Collector Set name] [options]
Parameters
Parameter | Description |
---|---|
-s <computer name> |
Perform the command on the specified remote computer. |
-config <value> |
Specifies the settings file containing command options. |
[-n] <name> |
Name of the target object. |
-ets | Sends commands to Event Trace Sessions directly without saving or scheduling. |
/? | Displays context-sensitive help. |
Examples
To list all Data Collector Sets configured on the target system, type:
logman query
To list the data collectors contained in the Data Collector Set named perf_log, type:
logman query perf_log
To list all available providers of data collectors on the target system, type:
logman query providers