遠端桌面 (主控台)

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

開啟此電腦上主控台的遠端桌面工作階段。

Knowledge Base article:

摘要

此工作會啟動遠端桌面連線用戶端應用程式。 一旦執行後,遠端桌面連線用戶端將連線到目標伺服器上現有的主控台工作階段。

Element properties:

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

Source Code:

<ConsoleTask ID="Microsoft.Windows.Server.Computer.MSTSCConsole" Accessibility="Public" Target="Windows!Microsoft.Windows.Server.Computer" RequireOutput="false" Category="MonitoringObject">
<Application>%windir%\system32\mstsc.exe</Application>
<Parameters>
<Parameter>/v:</Parameter>
<Parameter>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Parameter>
<Parameter>/f</Parameter>
<Parameter>/console</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>