Command referenceGet-Process
Get-Process command (Windows / PowerShell)
What it does
Retrieve local or remote process objects and resource metrics. Guides covering the get-process powershell usually need pipeline-friendly examples, common parameters, and how the cmdlet compares with classic CMD or Linux tools. This page includes syntax, options, and copyable PowerShell examples.
Retrieve local or remote process objects and resource metrics.
Syntax
Get-Process [[-Name] <String[]>] [-ComputerName <String[]>] | Get-Process -Id <Int32[]>
Common options
| Flag / option | Meaning |
|---|---|
| -Name | Select processes by executable name. |
| -Id | Select processes by ID. |
| -IncludeUserName | Include the owning user when permitted. |
| -FileVersionInfo | Return executable version information. |
| -ComputerName | Query supported remote computers in Windows PowerShell. |
Practical examples
List processes
Get-Process
Returns all local process objects.
Find Node
Get-Process -Name node -ErrorAction SilentlyContinue
Returns Node processes without an error if absent.
Top memory users
Get-Process | Sort-Object WorkingSet64 -Descending | Select-Object -First 10
Selects processes with the largest working sets.
Linux ↔ Windows equivalent
Closest match: ps (Linux / bash / sh / zsh). Display a snapshot of running processes.
Common mistakes
- Assuming process names include the `.exe` extension.
- Reading a property that requires elevation and treating missing values as zero.
Related commands
- Stop-ProcessStop one or more local processes by name, ID, or pipeline input.
- Where-ObjectFilter pipeline objects by property values or a script block predicate.
- tasklistList local or remote running processes with selectable fields and filters.
- psDisplay a snapshot of running processes.
- killSend a signal to one or more processes.
- taskkillEnd processes by process ID or executable image name.
- topMonitor processes and system resource use in real time.
FAQ
What does Get-Process do in PowerShell?
Retrieve local or remote process objects and resource metrics.
How can I see examples for Get-Process?
Run `Get-Help Get-Process -Examples`, then adapt an example to the provider and objects you are using.
What is a practical Get-Process example?
Try `Get-Process` — Returns all local process objects.
Does Get-Process return text or objects?
Get-Process normally participates in PowerShell's object pipeline; formatting seen in the console is a view of those objects.
Browse the full Linux and Windows command reference to search more bash, CMD, PowerShell, Conda, and GitHub CLI commands.