{"id":78247,"date":"2016-05-26T11:59:47","date_gmt":"2016-05-26T18:59:47","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/?p=78247"},"modified":"2019-02-18T09:10:44","modified_gmt":"2019-02-18T16:10:44","slug":"powertip-view-properties-from-a-storage-account-with-powershell","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-view-properties-from-a-storage-account-with-powershell\/","title":{"rendered":"PowerTip: View properties from a storage account with PowerShell"},"content":{"rendered":"<p><strong>Summary<\/strong>: View and access the SKU from a storage account for future use.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\" \/>\u00a0I went to work with the New-AzureRMStorageAccount cmdlet but was confused about\u00a0how to know which name to use for the SKU. Is there an <em>easy<\/em> way to know which one to use?<\/p>\n<p style=\"padding-left: 30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\" \/>\u00a0There most certainly is! Just create your storage account in the Azure portal first. Then you use\u00a0the <strong>Get-AzureRMStorageAccount<\/strong> cmdlet to access the SKU property.<\/p>\n<p style=\"padding-left: 30px\">Here is an example to\u00a0access \u2018hsgstorageaccount\u2019.<\/p>\n<p style=\"padding-left: 90px\"><code>(Get-AzureRmStorageAccount -Name hsgstorageaccount -ResourceGroupName HSG-AzureRG).Sku.name<\/code><\/p>\n<p style=\"padding-left: 30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/7610.Dr.ScriptoForTips.jpg\" alt=\"The Doctor\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: View and access the SKU from a storage account for future use. \u00a0I went to work with the New-AzureRMStorageAccount cmdlet but was confused about\u00a0how to know which name to use for the SKU. Is there an easy way to know which one to use? \u00a0There most certainly is! Just create your storage account in [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[568,639,641],"tags":[56,356,154,45],"class_list":["post-78247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hey-scripting-guy","category-powertip","category-windows-powershell","tag-guest-blogger","tag-powertip","tag-sean-kearney","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: View and access the SKU from a storage account for future use. \u00a0I went to work with the New-AzureRMStorageAccount cmdlet but was confused about\u00a0how to know which name to use for the SKU. Is there an easy way to know which one to use? \u00a0There most certainly is! Just create your storage account in [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/78247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=78247"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/78247\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=78247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=78247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=78247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}