Запрос всех активных процессов
Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost.QueryAllActiveProcesses (Task)
Эта задача выводит сведения о работающих процессах и тех пользователях и сеансах, с которыми связаны эти процессы, путем выполнения команды «Query Process *».
Element properties: Member Modules:
Source Code: <Task ID="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost.QueryAllActiveProcesses" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDSessionHost" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName>%SystemRoot%\System32\Query.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\temp</WorkingDirectory>
<CommandLine>PROCESS *</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>