Unsolved
This post is more than 5 years old
1 Rookie
•
6 Posts
0
531
January 14th, 2014 06:00
Create a report that use external program
Hallo, I want to create a report that tests some port on several remote hosts, is it possible? Or another one that sends 10 ping and gives me results (packets lost, average time and so on). In general is it possible to launch an external program and to parse the answer?
Thanks, Pietro.



WestelCS
11 Posts
0
January 14th, 2014 13:00
About the ping results, I assume you can use the ping -n . It is possible to parse the out put. Check the following link:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/01/use-the-powershell-grep-command-to-parse-the-command-line.aspx
I am not very sure about exactly what you want in the first part.