
You can specify the port number using the -port switch at the end of tnc command. You can also put an IP address instead of the host name.

Tns is short for Test-NetworkConnection command. Tnc -port 80 Checking open port using PowerShell

Open Telnet using the three steps described above and issue the following command: To check the network port, follow the instructions below: Go to Run –> telnet Check whether the port is open or not using Command Prompt.
#Idisplay over closed network install#
To install Telnet, follow the instructions below: If you are going strictly with a DOS based command then you are left with no option but to install telnet in Windows 10. Portqry used to be the command of choice for checking remote ports being alive and listening but it was only available up till Windows XP and Windows Server 2003. Even DOS Command Prompt has also become secondary with PowerShell taking the center stage.
/cloudfront-us-east-1.images.arcpublishing.com/gray/K6C3MOMGIFDQZA4P2GFHBCNKCE.jpg)
Windows 10 does not come with Telnet pre-installed.
