Powershell Access Global Variable In Function