Friday 15 April 2011

Azure Powershell to read all the resources irrespective of its status or type -



Azure Powershell to read all the resources irrespective of its status or type -

i developing powershell script read azure resources (irrespective of status or resource type) under particular subscription. have n number of subscriptions , number of resources (such db, storage, hosted services, vm's, cache etc) under each subscription. know can read each resource , status 1 1 through azure powershell.

this used auditing purpose , need every 2 months.so, simplicity automating task. want accomplish that: have tab named "all items" in azure management portal, lists resources of selected subscription, irrespective of status , types. need read entire resource , details (which includes status, part etc etc) listed on there.

tried googling many times using many phrases, no luck yet. can offer me hand solving in simple?

any help appreciated.

depends on info need each resource.

you can download azure powershell cmdlets (http://go.microsoft.com/?linkid=9811175&clcid=0x409) , utilize get-azureresource list resources subscription, 'generic' resource info - resource info shared resources, regardless of type.

to total data, need resourceprovider-specific api version each resource provider, , info bit undiscoverable, have hard code script.

-mark

powershell azure azure-powershell

No comments:

Post a Comment