For system, network and cloud administrators

How to view an Azure resource group’s location using Azure CLI

In order to view a particular Azure resource group’s location, type in your shell:

az group show --resource-group yourresourcegroup --query location

How to retrieve properties of a newly created Azure resource group using Azure CLI

In order to display the properties of a specific resource group in Azure type:

az group show --name yourresourcegroup --output tsv