Converter Web ToolsConverter WebTools

PowerShell Cheat Sheet — Common Cmdlets

This PowerShell cheat sheet lists common cmdlets for files, processes and the pipeline, with their familiar command-line aliases.

CmdletWhat it does
Get-ChildItem (ls, dir)List files
Set-Location (cd)Change directory
Get-Content (cat)Read a file
Copy-ItemCopy
Move-ItemMove / rename
Remove-Item (rm)Delete
New-ItemCreate file/folder
Get-Process (ps)List processes
Stop-Process (kill)Stop a process
Get-ServiceList services
Select-ObjectPick properties
Where-ObjectFilter objects
ForEach-ObjectLoop over the pipeline
Get-HelpShow help

Related tools & charts