Get-NetworkStatistics - netstat -ano with filtering

This code borrows from Shay Levy's Get-NetworkStatistics function. This function runs netstat -ano on a local or remote system and filters the results by process name, address, port, protocol or state if specified. Process names are pulled for each PID using get-process.

4.8 Star
21,802 times
Add to favorites
E-mail Twitter Digg Facebook