Tools

PowerShell Cheat Sheet

Print-ready cheat sheet for PowerShell, organized for fast lookup, study, and desk-side use

Source
PowerShell Documentation (learn.microsoft.com/powershell)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Basics
  • Variables
  • Operators
  • Control Flow
  • Functions
  • Objects & Pipeline
  • Files
  • Strings
  • Modules
  • Common Patterns

Commands & Help

Get-Help Get-Process         # show help for cmdlet
Get-Help Get-Process -Online # open online docs
Get-Command *service*        # find commands by name
Get-Alias ls                 # show alias target

Common Aliases

ls → Get-ChildItemList files and directories
cd → Set-LocationChange directory
cp → Copy-ItemCopy file or directory
mv → Move-ItemMove or rename
rm → Remove-ItemDelete file or directory
cat → Get-ContentRead file contents
echo → Write-OutputPrint to pipeline
cls → Clear-HostClear console

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read