Test-port

Well I needed to check if a specific port was reachable on a set of servers.
This script is created for checking if a specific port is accessible or not.

Parameters used :
-server <server1,server2> : Provide server(s) to check
-port <port> : Provide the port to check
-list <list.csv> : Also a list of servers can be checked all at once. The list does need a header server;port
-trace : This option will enable tracing of the script and show all the steps and data collected (debug)
-outfile <Outfile.csv> : This will export the resolved data to a CVS-file.

 

or download the Script.

[wpdm_file id=3]

wvsandwijk

I am a Technical Specialist - Cloud Infrastructures from the Netherlands.
My Skills are mainly PowerShell, VMWare, Hyper-V, Microsoft System Center products and Windows Azure Pack.

I work for a company in Utrecht The Netherlands.
Updated: December 20, 2015 — 22:30