关机

Lenovo.TMM.Server.MP.Host.Shutdown.ConsoleTask (ConsoleTask)

Shut down

Element properties:

TargetLenovo.TMM.Server.MP.Host.Class
ApplicationPartnerPackRestart.exe
WorkingDirectory\%LENOVOPARTNERPACK_HOME\%\Bin
isRequireOutputFalse
AccessibilityInternal
EnabledTrue

Source Code:

<ConsoleTask ID="Lenovo.TMM.Server.MP.Host.Shutdown.ConsoleTask" Accessibility="Internal" Enabled="true" Target="Lenovo.TMM.Server.MP.Host.Class" RequireOutput="false">
<Assembly>Lenovo.TMM.Server.MP.Host.Shutdown.Resources.Assembly</Assembly>
<Handler>ShellHandler</Handler>
<Parameters>
<Argument Name="WorkingDirectory">%LENOVOPARTNERPACK_HOME%\Bin</Argument>
<Argument Name="Application">PartnerPackRestart.exe</Argument>
<Argument>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Argument>
<Argument>Shutdown</Argument>
<Argument>-s</Argument>
</Parameters>
</ConsoleTask>