Created
April 30, 2012 13:50
-
-
Save steelcm/2558512 to your computer and use it in GitHub Desktop.
Find open ports on windows server using PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\> netstat -an | select-string -pattern "listening" | |
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING | |
TCP 0.0.0.0:81 0.0.0.0:0 LISTENING | |
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING | |
TCP 0.0.0.0:383 0.0.0.0:0 LISTENING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for making the web a PowerShell reference book.