Terminal Dojo
Help العربية Sign inGet started

Command library / Get-Process

Get-Process

PowerShellDraft — pending expert review3 practice missions

List running processes as objects

Returns running processes as PowerShell objects (not text), so you can filter, sort or pipe them into other cmdlets. The name binds positionally — you rarely need to type -Name at all — and -Id looks up one exact process by its PID.

Practice Get-Process

Usage

Get-Process [[-Name] <string>] [-Id <int>]

Options and flags

Examples

Common mistakes

Get-Process -Id four Get-Process -Id 4444

-Id expects a number, not a word — PowerShell would reject 'four' as an invalid process ID.

Related commands

test-netconnection