search cancel

Steps to perform 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

Issue/Introduction

Telnet feature/ program is not installed on the server.

Customer cannot add the Telnet feature due to restrictions in the Environment or for permission they 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

Environment

Windows OS: 2008, 2008R2, 20012, 2012R2, 2016 etc

Resolution

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

Example: Test a connection to a remote host on a specific port

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

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

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

 

 

 

Attachments