If you grab the result of having invoked that method, you can check the Summary property of the return to see info about the ping requests. Like:
$oReturn = $esxcli2.network.diag.ping.Invoke($arguments) $oReturn.Summary Duplicated : 0 HostAddr : 10.10.10.10 PacketLost : 0 Recieved : 3 RoundtripAvg : 334 RoundtripAvgMS : 0 RoundtripMax : 393 RoundtripMaxMS : 0 RoundtripMin : 298 RoundtripMinMS : 0 Transmitted : 3
So, you could check whatever things are important to you -- that none were lost, that the latency was acceptable, etc. That help?
Thank so much mattboren!!! This is exactly what I was looking for.