Skip to main content

PowerShell Cheatsheet

New

Common cmdlets, pipeline operators, variables, control flow, and comparison operators.

powershellwindowsreferencecheatsheet
Read the guide
Shortcuts:⌘ KSearch
0 entries

Frequently Asked Questions

Does this explain -like versus -match?

Yes. The Comparison & Operators section explicitly separates wildcard matching with -like from regex matching with -match.

Is it written around PowerShell objects, not just shell commands?

Definitely. It includes object pipeline patterns like Get-Process | Where-Object, Select-Object, Sort-Object, Group-Object, and Measure-Object.

Does it cover paths outside the normal filesystem?

Yes. The cheatsheet shows provider-style navigation such as HKCU:\Software and $env:NAME, plus Join-Path, Test-Path, New-Item, and Get-Content.

What happens if I copy a syntax entry from the card?

The copy action grabs the fuller syntax snippet for that entry, not just the terse label shown in compact view.

Will it help with script patterns like splatting and param blocks?

Yes. There are specific entries for function definitions, param blocks, splatting hashtables into commands, script blocks, and the call operator.

Related Tools