PowerTip: List Azure Resource Manager resources assigned to a resource group by using PowerShell

Doctor Scripto

Summary: Use the Azure Resource Manager cmdlets to show resources that are assigned under a resource group.

Hey, Scripting Guy! Question I looked at the console for Azure Resource Manager and can see all the resources for a particular resource group. Is there a way to see that by using PowerShell?

Hey, Scripting Guy! Answer There sure is! Just use the Get-AzureRMResource cmdlet and filter on the ResourceGroupName property. Here’s an example:

Get-AzureRmResource | where { $_.ResourceGroupName -eq 'HSG-AzureRG' } | Format-Table


The Doctor


Discussion is closed.

Feedback usabilla icon