Tag Archives: test-connection

Connection State Announcer

I’ve been having some very annoying problems with my home broadband where the connection keeps dropping every few minutes. I wrote this quick script to monitor a site on the internet and tell me when it can’t be reached anymore, … Continue reading

Rate this:

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

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

PowerShell: Ping test script (sequential) with CSV output

This is a script that sequentially¬†tests the specified hosts and writes the output to a CSV file. Unlike the parallel ping script I posted a few days ago, this one writes the output of all the tests the the same … Continue reading

Rate this:

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

PowerShell: Parallel ping test with CSV result files

I’ve been experimenting with parallel workflows in PowerShell and this seemed like a good thing to try and do with it. No guarantees that this script is the best, but it does work. Give it a list of¬†computers to test … Continue reading

Rate this:

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