Share via


Azure: Delete all the resources from a resource group using PowerShell

Sometimes, we have lot of resources connected to a resource manager group. If you need to delete a resource group then you need to delete all the resources first.
So deleting all the resources from management portal is time consuming as we need to delete it one by one.
we can delete all the resources in a single shot with this simple powershell command -

Remove-AzureRmResourceGroup -Name ResourceGroupname

You need to put your resource group name with -Name parameters and this cmdlet will delete all the resources associated with this Resource group.
Hope you like this post!!

See Also

https://docs.microsoft.com/en-us/azure/azure-resource-manager/powershell-azure-resource-manager