Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Telnet using powershell

$
0
0

I have list of servers, which should telnet to an ip address to port 12232, and display the result as Yes, IF the server can telnet to IP address, or NO, when it fails.

How do I write a script in powershell? 

For Ex:-

trying to telnet 127.0.0.1 80 from Server 1, it should display yes or no, depends upon the response.

How do I have the same thing in powershell?

Thanks for the help.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>