Get a list of all Resources in my Azure Subscription (Powershell Preferably)

后端 未结 7 1554
余生分开走
余生分开走 2020-12-07 01:12

I have an azure subscription and I\'m trying to write a powershell script to automatically get a list of all the resources (VMs, Storage Accounts, Databases, etc) that I cur

7条回答
  •  温柔的废话
    2020-12-07 01:46

    I know it's already been answered however, I have found the Get-AzResource command easy to use and fetches all the resources from a particular subscription. Try using it with "ft" for clean text

    Get-AzResource | ft

    Screenshot

提交回复
热议问题