[powershell] Setting a global PowerShell variable from a function where the global variable name is a variable passed to the function