Skip to content

Windows

Powershell Portscanner

Native PowerShell Port Scan One Liner

0..65535|% { Test-NetConnection -Port $_ http://scanme.nmap.org scanme.nmap.org -WA SilentlyContinue | Format-Table -Property ComputerName,RemoteAddress,RemotePort,TcpTestSucceeded }

Note: Ports can be comma separated as well.