Executar Ping no Computador (com Rota)

Microsoft.SystemCenter.HealthServiceWatcher.PingWithRoute (ConsoleTask)

Usa pathping.exe para mostrar a rota para o computador de destino e calcula o RTT (tempo de resposta) e outras estatísticas úteis.

Element properties:

TargetMicrosoft.SystemCenter.HealthServiceWatcher
Application\%windir\%\system32\pathping.exe
WorkingDirectory
isRequireOutputTrue
AccessibilityInternal
EnabledTrue

Source Code:

<ConsoleTask ID="Microsoft.SystemCenter.HealthServiceWatcher.PingWithRoute" Accessibility="Internal" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthServiceWatcher" RequireOutput="true" Category="MonitoringObject">
<Application>%windir%\system32\pathping.exe</Application>
<Parameters>
<Parameter>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.HealthServiceWatcher"]/HealthServiceName$</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>