Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: List all Azure Resource Manager storage accounts by using PowerShell

$
0
0

Summary: Use the Azure Resource Manager cmdlets to identify available storage accounts.

Hey, Scripting Guy! Question 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?

Hey, Scripting Guy! Answer 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

The Doctor


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>