计算机管理

Microsoft.Windows.Server.Computer.Compmgmt (ConsoleTask)

对此计算机运行计算机管理。

Knowledge Base article:

摘要

此任务启动计算机管理 MMC 管理单元,允许管理员集中访问下列 MMC 管理单元:

执行计算机管理之后,应用程序将连接到目标服务器,并为每个 MMC 管理单元提供远程管理访问。

Element properties:

TargetMicrosoft.Windows.Server.Computer
Application\%windir\%\system32\mmc.exe
WorkingDirectory
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="Microsoft.Windows.Server.Computer.Compmgmt" Accessibility="Public" Target="Windows!Microsoft.Windows.Server.Computer" RequireOutput="false" Category="MonitoringObject">
<Application>%windir%\system32\mmc.exe</Application>
<Parameters>
<Parameter>%windir%\system32\compmgmt.msc</Parameter>
<Parameter>/computer:$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>