Friday, July 6, 2012

Test Connectivity of Multiple Server and then do "Trace Route" on failed servers using powershell script.


Hi,

Yesterday one of our "New Delhi PowerShell User Group" member was trying to do the following.

Ping a list of Internet and External Server, and then do the "Trace Route" on the failed ones.  He was facing a problem using "foreach" cmdlets.

to help him i tried to write a script for him and he liked it .. So i think that i should share this script with everyone so that everyone else can be benefitted.

The Script is very easy, you can download the script form here:

Download Link : http://gallery.technet.microsoft.com/scriptcenter/Ping-Multiple-Servers-and-df50cd28

This script  doing  Test-Connection to the all Computers in $servers and if test failes then it does 
trace route to that Server. 

Screenshot of the Script.

06-07-2012 12-05-56

Download Link : http://gallery.technet.microsoft.com/scriptcenter/Ping-Multiple-Servers-and-df50cd28

Thanks for reading.


Thanks!

Aman Dhally

Buy-More-Twitter-Followers  4fb29548b6adc

00336yft

2 comments: