Powershell alternative for telnet

 

Starting Windows 7/Windows 2008 the telnet client is not installed by default. This client is often used to test the connectivity to a server on a specific port:

telnet citrixserver 1494

Instead you can use the following powershell command, since powershell is installed by default:

(New-Object System.Net.Sockets.TCPClient(“citrixserver”,1494)).Connected

Leave a Reply

Your email address will not be published.