| FT is format table
Get-AzResource
Get all resources in the current subscription
Get-AzResource | ft
Get all resources in a resource group
Get-AzResource -ResourceGroupName bose-rg | ft
Get all resources whose resource group matches the provided wildcard
Get-AzResource -ResourceGroupName bose* | ft
https://docs.microsoft.com/en-us/powershell/module/az.resources/get-azresource?view=azps-4.6.1
Get-AzResourceGroup
Get a resource group by wildcard
Get-AzResourceGroup -Name ‘bose*’
Remove all resources in a group and the group
Get-AzResourceGroup -Name ‘bose*’ | Remove-AzResourceGroup -Force -AsJob
And check the status:
When it is done (it could take some time)…now only the other two are left
https://docs.microsoft.com/en-us/powershell/module/az.resources/get-azresourcegroup?view=azps-4.6.1