Fix powershell condition.