Summary: Use the Azure Resource Manager cmdlets to identify available storage accounts.
I’m working a client site, and they’d like me to document the configuration of their Azure Resource Manager environment. I’m in desperate need of a list of the storage accounts. Help me, please?
One cmdlet and you’re done. Just use the Get-AzureRMStorageAccount cmdlet. If you run this, you’ll only get the list, but you can export it to a .csv file named StorageAccounts.csv. Here is an example:
Get-AzureRMStorageAccount | Export-CSV StorageAccounts.csv