1 2 3 4 5 6 7 8 |
function procesoconexion($conexion){ ($conexion.RemoteAddress + " " + (Get-Process -Id $conexion.OwningProcess).name) } foreach ($conexion in Get-NetTCPConnection) { procesoconexion $conexion } |
1 2 3 4 5 6 7 8 |
function procesoconexion($conexion){ ($conexion.RemoteAddress + " " + (Get-Process -Id $conexion.OwningProcess).name) } foreach ($conexion in Get-NetTCPConnection) { procesoconexion $conexion } |