I am trying to filter the results of the logman command using powershell. I’ve tried to select a single property, filter using where-object, but it seems like the results from logman (stored in an array) are not accessible via their properties. Here are some commands I have tried so far:
logman -ets query #returns result
logman -ets query | select-object #returns result
logman -ets query | select-object -first 10 -Property Status #nothing
logman -ets | where-object {$_.Status -eq "Running"} #nothing
logman -ets | where-object {$_.Status -eq "Running"} #nothing
logman -ets | where-object {$_.Status -gt "R"} -debug #nothing
I am hoping to filter out just those sessions that pertain to my local service fabric emulator so I can get a handle on where my various service fabric logs are stored.
Any thoughts?