text stringlengths 0 4.23k |
|---|
/v |
Displays verbose task information in the output. For complete verbose output without truncation, use /v and /svc together. |
/fo {table | list | csv} |
Specifies the format to use for the output. Valid values are table, list, and csv. The default format for output is table. |
/nh |
Suppresses column headers in the output. Valid when the /fo parameter is set to table or csv. |
/fi <filter> |
Specifies the types of processes to include in or exclude from the query. You can use more than one filter or use the wildcard character (\) to specify all tasks or image names. The valid filters are listed in the Filter names, operators, and values section of this article. |
/? |
Displays help at the command prompt. |
<computer> |
<domain>\<username> |
<username> |
<domain>\<username> |
<password> |
<module> |
{table | list | csv} |
<filter> |
\ |
Filter names, operators, and values |
Filter Name |
Valid Operators |
Valid Value(s) |
STATUS |
eq, ne |
RUNNING | NOT RESPONDING | UNKNOWN. This filter isn't supported if you specify a remote system. |
IMAGENAME |
eq, ne |
Image name |
PID |
eq, ne, gt, lt, ge, le |
PID value |
SESSION |
eq, ne, gt, lt, ge, le |
Session number |
SESSIONNAME |
eq, ne |
Session name |
CPUtime |
eq, ne, gt, lt, ge, le |
CPU time in the format HH:MM:SS, where MM and SS are between 0 and 59 and HH is any unsigned number |
MEMUSAGE |
eq, ne, gt, lt, ge, le |
Memory usage in KB |
USERNAME |
eq, ne |
Any valid user name (<user> or <domain\user>) |
SERVICES |
eq, ne |
Service name |
WINDOWTITLE |
eq, ne |
Window title. This filter isn't supported if you specify a remote system. |
MODULES |
eq, ne |
DLL name |
RUNNING | NOT RESPONDING | UNKNOWN |
<user> |
<domain\user> |
Examples |
To list all tasks with a process ID greater than 1000, and display them in csv format, type: |
tasklist /v /fi "PID gt 1000" /fo csv |
To list the system processes that are currently running, type: |
tasklist /fi "USERNAME ne NT AUTHORITY\SYSTEM" /fi "STATUS eq running" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.