When you have created some resource groups, they will be available in your subscription. We can quickly display them using either the Azure CLI or PowerShell window. Both commands are pretty straightforward. The result for Azure CLI is as follows:
$ az group list --subscription "Pay-As-You-Go"
The result of running the preceding command will look like this:
[
{
"id": "/subscriptions/.../resourceGroups/azureadministrator-euw-rg",
"location": "westeurope",
"managedBy": null,
"name": "azureadministrator-euw-rg",
"properties": {
"provisioningState": "Succeeded"
},
"tags": {}
}
{
...
}
]
You will get a similar effect for the PowerShell cmdlet, as shown here. Note that it returns a similar result containing information about the resource group's location, its tags, and its identifier:
PS C:\Users\kamz> Get-AzResourceGroup...