Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)
I am trying to write a PowerShell script so that I can able to get the list of all the resources. Is there any way to do this with REST API?

1 Answer

0 votes
by (26.7k points)

If you want to use Resource Manager model you can use it like this:

Login-AzureRmAccount

Get-AzureRmResource | Export-Csv "c:\Azure Resources.csv"

I hope this will work.

Want to become an Azure Expert? join azure certification now!!

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...