Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
logman start perf_log -s server_1This guide gathers the Microsoft Learn syntax and parameter reference for logman start and logman stop, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.
logman start <[-n] <name>> [options]
logman stop <[-n] <name>> [options]The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.
logman start perf_log -s server_1| Option / clause | Description |
|---|---|
start / stop | Start a data collector or stop a Data Collector Set. |
[-n] <name> | Identify the target object by name. |
-s <computer name> | Run against the specified remote computer. |
-config <value> | Load command options from a settings file. |
-ets | Send commands directly to Event Trace Sessions without saving or scheduling. |
-as | Perform the requested operation asynchronously. |
/? | Display context-sensitive help. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.