Tag Archives: system.net.sockets

Testing for open ports with PowerShell

Want to find out if a TCP port is open via a firewall and/or if something is listening on that port? From within a script? You can use PowerShell. A colleague found this, which uses System.Net.Sockets.TcpClient from the .NET framework … Continue reading

Rate this:

Posted in Networking, PowerShell | Tagged , , , , , , , , | Leave a comment