Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

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

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles