Useful Powershell Commands

View all ports in use

Get-NetTCPConnection | ? {$_.State -eq "Listen"} | sort LocalPort -Descending

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.