Powershell Multiple If Conditions In Python