MFH Labs : Access Resource group/s using Azure PowerShell

Get Resources in Resource Group

Lately I have been working with Azure PowerShell and ARM Templates. This has led me to needing to query certain details out of my Resource Groups, for resources that are not displayed in the Resource Group Blade[1] in the Portal.

There is not a specific command to directly query the Resource Group Resources. So the accepted way that I have found and practicing is the following code.

https://medium.com/media/bcdd5697c52fe266cbf4b146bb9cce0b

This code first takes the list of Resources in your Azure Subscription and filters them down with a simple where clause. Hope this helps you all out!

[1] The Resource Group Blade now has a toggle checkbox that allows you to display and hide certain resources such as Certificate and Alert Rule resources