."> Variable ($) in PowerShell: definition and example · Ask Codey Variable ($) in PowerShell: definition and example · Ask Codey ."> ."> .","url":"https://www.ask-codey.com/glossary/variable-powershell","inDefinedTermSet":{"@type":"DefinedTermSet","name":"PowerShell vocabulary","url":"https://www.ask-codey.com/glossary/subjects/powershell"},"dateModified":"2026-11-17T16:19:37Z"}

Variable ($)

say it: “DOL-er SYNE” /ˈdɑlər ˈsaɪn/ or “VAIR-ee-uh-bul” /ˈvɛriəbəl/

A named value that starts with ` Variable ($) in PowerShell: definition and example · Ask Codey Variable ($) in PowerShell: definition and example · Ask Codey ."> Variable ($) in PowerShell: definition and example · Ask Codey Variable ($) in PowerShell: definition and example · Ask Codey ."> ."> .","url":"https://www.ask-codey.com/glossary/variable-powershell","inDefinedTermSet":{"@type":"DefinedTermSet","name":"PowerShell vocabulary","url":"https://www.ask-codey.com/glossary/subjects/powershell"},"dateModified":"2026-11-17T16:19:37Z"} .

What is Variable ($)?

A variable starts with $ and can hold anything: text, numbers, lists or objects.

$city = 'Denver'
$files = Get-ChildItem *.txt
$files.Count

Level: Apprentice · More PowerShell terms at this level

Updated