testPorts - Loop through csv and test for open tcp ports using powershell

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 [] testPorts.ps1 # Loop through servers.