Option 1
1 |
netstat -ano | Where-Object {$_ -match ":80" -and $_ -match "ESTABLISHED"} | Measure-Object |
Option 2
1 |
netstat -ano | Select-String ":80" | Select-String "ESTABLISHED" | Measure-Object |
Option 3
1 |
netsh interface ipv4 show tcpconnections | Select-String "80" | Select-String "Establecido" | Measure-Object |