Start here

Guides

Read these first if PowerShell is new. Then jump to the cheat sheet.

  1. What is PowerShell?

    A shell and a scripting language that works with objects, not just text.

  2. Open PowerShell

    Windows Terminal, pwsh, and the old Windows PowerShell 5.1 host.

  3. Execution policy

    Why a script is blocked, what each policy means, and what to change (if anything).

  4. Run a script

    Download a .ps1, unblock it, and run it with parameters from the right folder.

  5. Pipelines

    Left to right, objects not text, and why Format-Table has to be last.

  6. Safety

    WhatIf, Confirm, and why you should not paste blindly from the internet (including this site).

  7. Objects and properties

    Why PowerShell output is not just text, and how to see and pick the parts you want.

  8. Variables

    Store a value with $name = ..., reuse it, and know when quotes expand it.

  9. Comparison operators

    -eq, -like, -match, and why > writes a file instead of comparing.

  10. Your profile and modules

    Make shortcuts that load every time, and add commands others have written.