Skip to content

Instantly share code, notes, and snippets.

Avatar

Meraj Rasool Khattak mrkkhattak

View GitHub Profile
@steelcm
steelcm / gist:2558512
Created Apr 30, 2012
Find open ports on windows server using PowerShell
View gist:2558512
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
You can’t perform that action at this time.