Table of contents
Collapse the table of content
Expand the table of content


Corey Plett|Last Updated: 11/16/2016

Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

logman creates and manages Event Trace Session and Performance logs and supports many functions of Performance Monitor from the command line.


logman [create | query | start | stop | delete| update | import | export | /?] [options]


logman createcreate a counter, trace, configuration data collector, or API.
logman queryquery data collector properties.
logman start | stopstart or stop data collection.
logman deletedelete an existing data collector.
logman updateUpdate the properties of an existing data collector.
logman import | exportimport a data collector set from an XML file or export a data collector set to an XML file.
© 2017 Microsoft