This is a quick one-liner to test whether a port is open. This is useful in cases where the Telnet client is not installed and you need something done quick.

powershell Test-NetConnection <<HOSTNAME>> -Port <<PORT>>

Example:

powershell Test-NetConnection MARKLABPC -Port 445