Delete All Resources From Azure Subscription Via Powershell
After having a few weeks testing some azure automation scripts. My subscription was littered with over 150 resource groups with loads of resources. Running the simple script below via powershell deletes EVERYTHING form your current subscription. This can take a while if you have many resources. You will not be prompted before they are deleted.
Get-AzureRmResourceGroup | Remove-AzureRmResourceGroup -Verbose -Force