Simple variable

suggest change

All variables in powershell begin with a US dollar sign ($). The simplest example of this is:

$foo = "bar"

This statement allocates a variable called foo with a string value of “bar”.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Variables in PowerShell:
* Simple variable
* Scope
* Arrays

Table Of Contents
1 Loops
14 Variables in PowerShell
19 XML
22 Strings
25 Aliases
47 MongoDB
65 AWS S3