# Variables: \`$name\`

A variable is a name PowerShell keeps a value under, so $owl = "…" stores a long path once, $drawings = Get-ChildItem … keeps a whole list of files, and $owl hands the value back in any later command until you close the window.

![Cheat sheet for the lesson Variables: \`$name\`: A variable is a name PowerShell keeps a value under, so $owl = "…" stores a long path once, $drawings = Get-ChildItem … keeps a whole list of files, and $owl hands the value back in any later command until you close the window.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/276c4606161e48789767d2fe413e44aa.webp)

- Category: PowerShell
- Level: Apprentice
- Tags: automatic-variable, powershell, variable
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/powershell-variables-cheat-sheet
