# What's Running: \`Get-Process\` and \`Stop-Process\`

Every running program is a process with a number, its Id: Get-Process lists them with their memory (WS) and processor time (CPU), Sort-Object puts the busiest first, CommandLine tells two PowerShells apart, and Stop-Process -Id stops one, after a rehearsal with -WhatIf.

![Cheat sheet for the lesson What's Running: \`Get-Process\` and \`Stop-Process\`: Every running program is a process with a number, its Id: Get-Process lists them with their memory (WS) and processor time (CPU), Sort-Object puts the busiest first, CommandLine tells two PowerShells apart, and…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/a3ca603afcbf423680ba1c40495b6888.webp)

- Category: PowerShell
- Level: Apprentice
- Tags: get-process, operating-system, powershell, process, process-id, stop-process, task-manager
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-processes-cheat-sheet
