#Mostrar los hilos que se están ejecutando en relación con los servicios, los procesos y los puertos abiertos TCP $i=0 (Get-WmiObject -Class Win32_Thread) | %{ $i++ Write-Host $i,$_.Handle,$_.ProcessHandle,(Get-WmiObject -Class Win32_Service | Where-Object State -EQ 'Running' | Where-Object ProcessId -EQ $_.ProcessHandle),(Get-Process -Id $_.ProcessHandle).ProcessName Write-Host (Get-Process -Id $_.ProcessHandle).ProcessName,(Get-NetTCPConnection | where OwningProcess -EQ $_.ProcessHandle | select LocalPort,RemoteAddress,RemotePort,OwningProcess) }
Mostrar los hilos que se están ejecutando en relación con los servicios, los procesos y los puertos abiertos TCP (Servicios, Red, Procesos, PowerShell, Hilos)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.