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


i have azure subscription , i'm trying write powershell script automatically list of resources (vms, storage accounts, databases, etc) have in subscription. there way using azure management rest api or azure cmdlets?

i don't think there's 1 function (or ps cmdlet) fetch information. each of these can fetched through both windows azure service management rest api window azure powershell cmdlets.

windows azure service management rest api: http://msdn.microsoft.com/en-us/library/windowsazure/ee460799.aspx. example, if want list storage accounts in subscription, use this: http://msdn.microsoft.com/en-us/library/windowsazure/ee460787.aspx

windows azure powershell cmdlets: http://msdn.microsoft.com/en-us/library/jj554330.aspx. again, if want list storage accounts in subscription, use this: http://msdn.microsoft.com/en-us/library/dn205168.aspx.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -