Telnet using Powershell command
search cancel

Telnet using Powershell command

book

Article ID: 174026

calendar_today

Updated On:

Products

Endpoint Encryption Data Loss Prevention Cloud Prevent for Microsoft Office 365 VIP Service Encryption Management Server

Issue/Introduction

Telnet feature/ program is not installed on the server and you cannot add the Telnet feature due to restrictions in the environment or for permission you need to follow ITIL standards.

'telnet' is not recognized as an internal or external command, operable program or batch file.

Cause

By default, Windows does not install the telnet.exe program.

Resolution

Powershell command: Test-NetConnection supports ping test, TCP test, route tracing, and route selection diagnostics.

Example: Test a connection to a remote host on a specific port (replace www.example.com with a verifiable web address)

Test-NetConnection -ComputerName "www.example.com" -port 80 

Note: In the Computer Name field you can specify: Hostname /IP address.

Test-NetConnection -ComputerName "www.example.com" -port 80 -InformationLevel "Detailed"