Pass parameter to Azure CLI Task in DevOps
问题 How do you pass a parameter to an Azure CLI Task in Azure DevOps? Take the very basic example of showing basic info about a VM. A basic CLI command would be: az vm show --name myVM --resource-group dev -o table Now if I wanted to parameterize that command, so that I could pass in the VM Name, who would i do it? I've tried creating a CLI Task as both an in-line script and a file, passing parameters using the Azure DevOps Argument builder, but nothing seems to work. The parameter looks like