1 2 3 4 5 6 7 |
foreach($hilo in Get-WmiObject -Class Win32_Thread) { Write-Host $hilo.Handle "->" $hilo.ProcessHandle Get-WmiObject Win32_Service | where ProcessId -eq $hilo.ProcessHandle | select name } |
1 2 3 4 5 6 7 |
foreach($hilo in Get-WmiObject -Class Win32_Thread) { Write-Host $hilo.Handle "->" $hilo.ProcessHandle Get-WmiObject Win32_Service | where ProcessId -eq $hilo.ProcessHandle | select name } |