Securing PowerShellin the Enterprise - ACSC | Cyber.gov.au

There are two differences between a script variable and a variable as found in languages like C or Java: first, you do not declare your variable but instead just assign it when you are ready to use it, and second, when you want to access the value stored in a variable, precede the variable name with a $. For instance: I=0 // initializes I to 0 ................
................