Testing a port with PowerShell

In newer versions of Windows you are not able to use the Telnet-command to test a port. Don’t worry. In PowerShell v. 4 and onwards you can use the command below.

Test-NetConnection <host> -port <port>

Eg.

Test-NetConnection www.ryslander.com -port 80

Leave a Reply

Your email address will not be published. Required fields are marked *