Windows PowerShell Script for Testing Network Ports
Windows PowerShell is an essential Windows networking skill for us.
This PowerShell script will allow you to test port against one or more systems to verify if the port/s are open or not. This is really a simple port scanner that does nothing else other than verify the status of ports.
You can download this PowerShell script and Server. Text file from the below link
http://www.4shared.com/rar/OFkFxVDUba/Port_Scan.html
*"You can test Test-Port by copying the code into the Windows PowerShell command prompt (click Copy Code on the script page, then right-click in the Windows PowerShell command prompt to paste it in). Once entered as a function, you can use the Test-Port function directly from the command line (example: *PS C:\users\default> test-port." [Joe Davis, MS]
Please see examples in the script on how to properly use this.
I. Create a Text file named “servers.txt” and update all the server names.
II. This text file has to be placed in the same location where you are copied or created our test.port.ps1 script.
Happy Learning !!!
Thank you
Ravisankar K P
http://ravisankarkp.wordpress.com/