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.
Download Link : http://gallery.technet.microsoft.com/scriptcenter/Ping-Multiple-Servers-and-df50cd28
Thanks for reading.
Thanks!
Aman Dhally
nice way to do
ReplyDeleteThanks Shyam..
Deleteaman