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

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -