Articles → MICROSOFT AZURE → Add And Get The List Of Resource Group In Microsoft Azure
Add And Get The List Of Resource Group In Microsoft Azure
- Add a new resource group using PowerShell
- Get the list of resource groups using PowerShell
How To Add A New Resource Group Using Powershell?
- Open powershell in the admin mode
- Connect to the Azure account
- Write the following syntax
New-AzResourceGroup -Name <resource group name> -Location <location>
New-AzResourceGroup -Name RG01 -Location "South Central US"
Click to Enlarge
Get The List Of Resource Groups
Click to Enlarge