Skip to main content
Code and think

PowerShell Test port accessibility

To 'ping' a port from PowerShell you can use Test-NetConnection -ComputerName 192.168.1.1 -Port 80. Instead of IP you can use the name etc.

Reference