This PowerShell cheat sheet lists common cmdlets for files, processes and the pipeline, with their familiar command-line aliases.
| Cmdlet | What it does |
|---|---|
| Get-ChildItem (ls, dir) | List files |
| Set-Location (cd) | Change directory |
| Get-Content (cat) | Read a file |
| Copy-Item | Copy |
| Move-Item | Move / rename |
| Remove-Item (rm) | Delete |
| New-Item | Create file/folder |
| Get-Process (ps) | List processes |
| Stop-Process (kill) | Stop a process |
| Get-Service | List services |
| Select-Object | Pick properties |
| Where-Object | Filter objects |
| ForEach-Object | Loop over the pipeline |
| Get-Help | Show help |