Ping 计算机

Microsoft.SystemCenter.HealthService.PingDefault (ConsoleTask)

对承载你在控制台中选择的 System Center 管理运行状况服务的计算机进行 Ping 操作。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
Application\%windir\%\system32\ping.exe
WorkingDirectory
isRequireOutputTrue
AccessibilityInternal
EnabledTrue

Source Code:

<ConsoleTask ID="Microsoft.SystemCenter.HealthService.PingDefault" Accessibility="Internal" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" RequireOutput="true" Category="MonitoringObject">
<Application>%windir%\system32\ping.exe</Application>
<Parameters>
<Parameter>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>