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.

Updated

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…
Category
PowerShell
Level
Apprentice
Tags
get-process, operating-system, powershell, process, process-id, stop-process, task-manager