List Processes

Microsoft.Windows.Server.6.2.Computer.ProcessList.Task (Task)

Query and display a list of currently running processes

Knowledge Base article:

Summary

This Task executes the “TASKLIST” command line utility which lists all currently running processes along with image name, session name, session ID, process ID, and memory utilization.

Element properties:

TargetMicrosoft.Windows.Server.6.2.Computer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<Task ID="Microsoft.Windows.Server.6.2.Computer.ProcessList.Task" Target="WindowsServer!Microsoft.Windows.Server.6.2.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\TASKLIST.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>/S $Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>