You can no longer assign other types when you strongly type a variable:
[Int]$a = 1 $a = 'does not work'
However, you can always re-assign a new type to a variable:
[String]$a = 'works'
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
Explore all the products and find the right solution for your business
by ps1Jun 16, 2011
You can no longer assign other types when you strongly type a variable:
[Int]$a = 1 $a = 'does not work'
However, you can always re-assign a new type to a variable:
[String]$a = 'works'