Question: How can I see all open ETW sessions, including their root paths? I'd expect some PowerShell command like Get-EtwTraceSession, but I don't see any.
Background
I work with EventTracing API, and occasionally find myself out of sessions because of stuff installed on my machine.
This answer tells me I can run logman -ets
to see the list of sessions, and then logman stop <SessionName> -ets
to stop some sessions. That's good, but how can I know what a cryptically-named session is?
I can tediously query individual sessions, and get a clue from their root path:
> logman -ets SensorFramework-{c4eaa67d-dd9a-4fce-0002-000000000000}
(...)
Root Path: C:\windows\CCM\SensorFramework <<<< Aha! CCM = System Center Configuration Manager
But I'm looking for a more convenient solution.