Launch Remote Desktop

Dell.WindowsServer.LaunchRemoteDesktop (ConsoleTask)

Task to launch Remote Desktop

Element properties:

TargetDell.WindowsServer.Server
Applicationmstsc.exe
WorkingDirectory\%windir\%\system32
isRequireOutputFalse
AccessibilityInternal
EnabledTrue

Source Code:

<ConsoleTask ID="Dell.WindowsServer.LaunchRemoteDesktop" Accessibility="Internal" Enabled="true" Target="Dell.WindowsServer.Server" RequireOutput="false" Category="MonitoringObject">
<Application>mstsc.exe</Application>
<Parameters>
<Parameter>/v:$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Parameter>
<Parameter>/f</Parameter>
</Parameters>
<WorkingDirectory>%windir%\system32</WorkingDirectory>
</ConsoleTask>