Powershell Script Variable Scope