-
-
Save eriawan/c14140ae45dd88c4bf6bab0a483426d6 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