원격 데스크톱

Microsoft.Windows.Server.Computer.MSTSC (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.MSTSC" 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>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>