Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $a = 1
- $b = 254
- $a..$b | foreach {
- Test-NetConnection -ComputerName "192.168.0.2" -Port "$_"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement