I'm new to Powershell.
There is something that amazes me the way PS works, especially how it retains the variable.
Example:
[string]$a=""
$a = "world" $b = "Hello $a" write-host $b
$a = "world2" write-host $b
The following is what is resulted:
Hello world
Hello world
Why the second write-host does not display "Hello world2"?