PowerTip: View properties from a storage account with PowerShell
Summary: View and access the SKU from a storage account for future use.
I went to work with the New-AzureRMStorageAccount cmdlet but was confused about how to know which name to use for the SKU. Is there an easy way to know which one to use?
There most certainly is! Just create your storage account in the Azure portal first. Then you use the Get-AzureRMStorageAccount cmdlet to access the SKU property.
Here is an example to access ‘hsgstorageaccount’.
(Get-AzureRmStorageAccount -Name hsgstorageaccount -ResourceGroupName HSG-AzureRG).Sku.name