Created
March 23, 2022 19:43
-
-
Save battleoverflow/a6c9c503f0b88aaa0a13a0d92d3ee881 to your computer and use it in GitHub Desktop.
Powershell Port Scanner (one-liner)
This file contains hidden or 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
foreach ($r in 1..254) { Test-NetConnection -Port $r } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment