關閉刀鋒伺服器作業系統
IB.Blade.SoftPowerOff (ConsoleTask)
Element properties:
Source Code:
<ConsoleTask ID="IB.Blade.SoftPowerOff" Accessibility="Public" Enabled="true" Target="IBMxSystems!IBM.SystemX.BladeSystem" RequireOutput="true" Category="MonitoringObject">
<Application>%WINDIR%\SYSTEM32\cscript.exe</Application>
<Parameters>
<Parameter>/nologo "%IBM_DIR_VBS%\IBMBladePowerTask.vbs" $Target/Property[Type="IBMxSystems!IBM.SystemX.Platform"]/SystemUUID$ IBM.BladeCenter.SoftPowerOff.Blade $Target/Host/Property[Type="IBMxSystems!IBM.WinComputer"]/Licensed$</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>