Path Ping to Device

Microsoft.SystemCenter.NetworkDevice.PathPing (ConsoleTask)

Execute a Path Ping command, and display the results in an output window.

Element properties:

TargetMicrosoft.SystemCenter.NetworkDevice
Application\%WINDIR\%\system32\pathping.exe
WorkingDirectory\%WINDIR\%\system32
isRequireOutputTrue
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="Microsoft.SystemCenter.NetworkDevice.PathPing" Accessibility="Public" Enabled="true" Target="NetworkDevice!Microsoft.SystemCenter.NetworkDevice" RequireOutput="true" Category="MonitoringObject">
<Application>%WINDIR%\system32\pathping.exe</Application>
<Parameters>
<Parameter>$Target/Property[Type="NetworkDevice!Microsoft.SystemCenter.NetworkDevice"]/IPAddress$</Parameter>
</Parameters>
<WorkingDirectory>%WINDIR%\system32</WorkingDirectory>
</ConsoleTask>