원격 데스크톱(관리)

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

이 컴퓨터의 콘솔에 대한 원격 데스크톱 관리 세션을 엽니다.

Knowledge Base article:

요약

이 작업은 원격 데스크톱 연결 클라이언트 응용 프로그램을 시작합니다. 대상 서버가 Windows Server 2008 기반 서버인 경우 원격 데스크톱 연결 클라이언트를 실행하면 대상 서버의 관리 세션에 연결됩니다. 대상 서버가 Windows Server 2003 기반 서버인 경우 원격 데스크톱 연결 클라이언트를 실행하면 대상 서버의 기존 콘솔 세션에 연결됩니다.

Element properties:

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

Source Code:

<ConsoleTask ID="Microsoft.Windows.Server.Computer.MSTSCAdmin" 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>/admin</Parameter>
</Parameters>
<WorkingDirectory/>
</ConsoleTask>