githubEdit

Windows

Port scan

1..65535 | ForEach-Object { $port = $_; if (Test-NetConnection -ComputerName "172.16.6.45" -Port $port -InformationLevel Quiet -WarningAction SilentlyContinue) { $port } }

Last updated