Updated: April 17, 2012
Applies To: Windows Vista, Windows Server 2008, Windows Server 2012, Windows 8
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]
Create a counter, trace, configuration data collector, or API.
Query data collector properties.
Start or stop data collection.
Delete an existing data collector.
Update the properties of an existing data collector.
Import a data collector set from an XML file or export a data collector set to an XML file.