電腦管理

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>