[UpDate] Test networking ports with PowerShell

Hello,

Hereunder an update about :

http://itfordummies.net/2014/01/24/test-networking-ports-with-powershell/

I just learned a new way of doing the same thing, without PowerShell 4 :

New-Object System.Net.Sockets.TCPClient –Argument "Localhost","80" #Hostname, PortNumber

When it’s opened :

TCPClientOK

When it’s closed :

TCPClientKO

This will work on PowerShell 2.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.