Powershell Script Use Variable Outside Function