Simply put, I got tired of using telnet on a bunch of targets while I tested to see if my firewall team got rules in place. Sometimes I am nested deep into a secure network and cannot get to some of the other utilities out there for download.
Setup servers.csv to have each node on a new line and the format of $server, $tcpPort
The code [https://github.com/etcSudoers/testPorts]
testPorts.ps1 # Loop through servers.