logman start stop
The logman start command starts a data collector and sets the begin time to manual. Windows commands reference
On Windows
Windows
The logman start command starts a data collector and sets the begin time to manual. The logman stop command stops a Data Collector Set and sets the end time to manual.
logman start <[-n] <name>> [options]logman stop <[-n] <name>> [options]logman start perf_log -s server_1
-s <computer name>Perform the command on the specified remote computer.-config <value>Specifies the settings file containing command options.[-n] <name>Specifies the name of the target object.-etsSends commands to Event Trace Sessions directly, without saving or scheduling.-asPerforms the requested operation asynchronously.-?Displays context-sensitive help.