-o was unexpected at this time
What causes it and how to fix it:
- Parentheses in an Azure CLI --query argument break az.cmd on Windows ("-o was unexpected at this time.")On Windows az is a batch file; a JMESPath query with ( ) and no spaces reaches cmd unquoted and breaks its IF block – return plain names and count in PowerShellCause and fix →