Converts all of the characters in the given variable to upper case using the rules of the default locale.
$[ScriptVariable]::toUpperCase()
None
The following example illustrates the syntax for the toUpperCase() string method:
$str = "bbb"
$str::toUpperCase()
print($str)
BBB