Powershell Set Global Variable Python Syntax If Else Statement