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





  1. Add a new resource group using PowerShell
  2. Get the list of resource groups using PowerShell

How To Add A New Resource Group Using Powershell?




  1. Open powershell in the admin mode
  2. Connect to the Azure account
  3. Write the following syntax
 New-AzResourceGroup -Name <resource group name> -Location <location>




New-AzResourceGroup -Name RG01 -Location "South Central US"




Picture showing the New-AzResourceGroup command to create the resource group.
Click to Enlarge


Get The List Of Resource Groups




 Get-azresourcegroup


Picture showing the Get-azresourcegroup command to get the list of recource groups.
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, October 6, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250