Command referencetasklist
tasklist command (Windows / CMD)
What it does
List local or remote running processes with selectable fields and filters. Searches for the tasklist command cmd usually need CMD syntax, practical switches, and notes on how it compares with PowerShell or Linux alternatives. This page covers syntax, common options, and copyable examples for Command Prompt.
List local or remote running processes with selectable fields and filters.
Syntax
tasklist [/S system] [/V] [/FI filter] [/FO format] [/NH]
Common options
| Flag / option | Meaning |
|---|---|
| /V | Show verbose task details. |
| /FI filter | Select tasks matching a filter. |
| /FO format | Choose TABLE, LIST, or CSV output. |
| /S system | Query a remote computer. |
| /NH | Omit the table header. |
Practical examples
List tasks
tasklist
Shows local running processes.
Find process
tasklist /FI "IMAGENAME eq node.exe"
Selects Node processes.
CSV output
tasklist /FO CSV /NH
Produces machine-friendlier CSV rows.
Linux ↔ Windows equivalent
Closest match: ps (Linux / bash / sh / zsh). Display a snapshot of running processes.
Common mistakes
- Filtering displayed output with findstr when `/FI` offers a precise filter.
- Assuming image names uniquely identify one process instance.
Related commands
- taskkillEnd processes by process ID or executable image name.
- Get-ProcessRetrieve local or remote process objects and resource metrics.
- netstatDisplay active connections, listening ports, routing data, and protocol statistics.
- psDisplay a snapshot of running processes.
- killSend a signal to one or more processes.
- Stop-ProcessStop one or more local processes by name, ID, or pipeline input.
- topMonitor processes and system resource use in real time.
FAQ
What does tasklist do in Command Prompt?
List local or remote running processes with selectable fields and filters.
How do I run tasklist in CMD?
Open Command Prompt and follow `tasklist [/S system] [/V] [/FI filter] [/FO format] [/NH]`; quote paths containing spaces.
What is a practical tasklist example in CMD?
Try `tasklist` — Shows local running processes.
Can tasklist be used in a batch file?
Yes. Check its exit code and escape CMD metacharacters when input is variable.
Browse the full Linux and Windows command reference to search more bash, CMD, PowerShell, Conda, and GitHub CLI commands.