I'm using VS Code, and to get some intellisense when writing the azure cli script I've put everything in a .azcli
file. My question now is how do I execute that file from a powershell terminal? Also, is it possible to use parameters in such a script like:
az servicebus topic create -g $resourceGroup -n $topicName --namespace-name $namespace
Is it possible to call a azcli
file that looks like the one above and provice the $resourceGroup, $topicName, $namespace
as argument from powershell?