Converting VBScript's Assignment Operator
Definition: Assigns a value to a variable or property.
Assigning a value to a variable is no big deal in Windows PowerShell: you put the variable on the left side of the equation, the value to be assigned on the right side, and an equals sign (=) smack dab in the middle. For example, this command assigns the string value test to the variable $a:
$a = "test"
And this command assigns the sum of the numbers 1, 2, and 3 to $a:
$a = 1 + 2 + 3