Skip to main content

Command referencetasklist

tasklist command (Windows / CMD)

WindowsCMDprocessbeginner

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 / optionMeaning
/VShow verbose task details.
/FI filterSelect tasks matching a filter.
/FO formatChoose TABLE, LIST, or CSV output.
/S systemQuery a remote computer.
/NHOmit 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.

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.