[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