Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell Out-GridView with NetStat

$
0
0

Summary: Learn to use Windows PowerShell Out-GridView to filter NetStat output.

Hey, Scripting Guy! Question How can I use NetStat to check TCP port connections, and additionally have a graphical tool to filter the output?

Hey, Scripting Guy! Answer Use the NetStat command inside Windows PowerShell, and pipe the results to the Out-GridView cmdlet. Then use the Filter parameter to filter the output:

netstat -a | Out-GridView

The Out-GridView control is shown here.

Image of menu

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>