{"id":172,"date":"2017-02-13T12:52:10","date_gmt":"2017-02-13T12:52:10","guid":{"rendered":"http:\/\/cirwordpress.azurewebsites.net\/?p=172"},"modified":"2017-02-15T03:14:58","modified_gmt":"2017-02-15T03:14:58","slug":"find-skus-images-available-azure-rm","status":"publish","type":"post","link":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/","title":{"rendered":"Find SKUs and Images available in Azure RM"},"content":{"rendered":"<p>If you\u2019ve landed here, odds are you are trying to find the SKUs or images available for your Microsoft Azure subscription and have already hit multiple pages referencing the outdated Get-AzureVMImage command. Things change quickly in the cloud and old data seems to linger for a while.<\/p>\n<p>But have no fear. The information below outlines the commands to get the details on the Azure publisher, offer name, SKU Name and list all the VM images available based on location and subscription.<\/p>\n<p>To find the needed information, first set the location; Central US in this example. Use the command below to find the location name if needed.<\/p>\n<pre>Get-AzureRmLocation | Select Location,DisplayName\r\n$locName = \"centralus\"<\/pre>\n<p><a href=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku1.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-174 size-full\" title=\"ListSku1\" src=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku1.jpg\" alt=\"Get-AzureRmLocation Get Location\" width=\"625\" height=\"354\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku1.jpg 625w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku1-300x170.jpg 300w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><!--more-->Next, I\u2019ll run the command below to get the Publisher Names in the region I specified as the locName varialbl. This will be filtered to Windows publications only.<\/p>\n<pre>Get-AzureRmVMImagePublisher -Location $locName | where-object {$_.PublisherName -like \"*windows*\"} | ft PublisherName,Location<\/pre>\n<p><a href=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku2.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-175\" src=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku2-1024x202.jpg\" alt=\"Get-AzureRmVMImagePublisher Get Publisher\" width=\"1024\" height=\"202\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku2-1024x202.jpg 1024w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku2-300x59.jpg 300w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku2-768x152.jpg 768w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku2.jpg 1125w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>With that information, I\u2019ll set my publisher name to Micorosft Windows Server<\/p>\n<pre>$pubName=\"MicrosoftWindowsServer\"<\/pre>\n<p>Next, I list all the images offered by the Microsoft Windows Server publication with the command below.<\/p>\n<pre>Get-AzureRmVMImageOffer -Location $locName -PublisherName $pubName | ft Offer,PublisherName,Location<\/pre>\n<p><a href=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku3.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-176\" src=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku3.jpg\" alt=\"Get-AzureRmVMImageOffer Get Offer\" width=\"949\" height=\"100\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku3.jpg 949w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku3-300x32.jpg 300w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku3-768x81.jpg 768w\" sizes=\"(max-width: 949px) 100vw, 949px\" \/><\/a><\/p>\n<p>Based on the output from that command, I set the Image Offer to Windows Server<\/p>\n<pre>$offerName=\"WindowsServer\"<\/pre>\n<p>After that, I run the following command to list the images available for the offer<\/p>\n<pre>Get-AzureRmVMImageSku -Location $locName -PublisherName $pubName -Offer $offerName | ft Skus,Offer,PublisherName,Location<\/pre>\n<p><a href=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku4.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-177\" src=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku4.jpg\" alt=\"Get-AzureRmVMImageSku Get image SKU\" width=\"890\" height=\"179\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku4.jpg 890w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku4-300x60.jpg 300w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku4-768x154.jpg 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/a><\/p>\n<p>And set the Sku to 2016-Datacenter<\/p>\n<pre>$skuName=\"2012-R2-Datacenter\"<\/pre>\n<p>Lastly, use this command to list the images available for the SKU<\/p>\n<pre>Get-AzureRmVMImage -Location $locName -PublisherName $pubName -Skus $skuName -Offer $offerName<\/pre>\n<p><a href=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku5.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-178\" title=\"ListSku5\" src=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku5.jpg\" alt=\"Get-AzureRmVMImage Get SKU Image\" width=\"764\" height=\"119\" srcset=\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku5.jpg 764w, https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2017\/02\/ListSku5-300x47.jpg 300w\" sizes=\"(max-width: 764px) 100vw, 764px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve landed here, odds are you are trying to find the SKUs or images available for your Microsoft Azure subscription and have already hit multiple pages referencing the outdated Get-AzureVMImage command. Things change quickly in the cloud and old data seems to linger for a while. But have no fear. The information below outlines &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\"> <span class=\"screen-reader-text\">Find SKUs and Images available in Azure RM<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[2],"tags":[9,117,84,83,85,118,120,11,123,124,121,119,122],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Find SKUs and Images available in Azure RM - ciraltos<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Find SKUs and Images available in Azure RM - ciraltos\" \/>\n<meta property=\"og:description\" content=\"If you\u2019ve landed here, odds are you are trying to find the SKUs or images available for your Microsoft Azure subscription and have already hit multiple pages referencing the outdated Get-AzureVMImage command. Things change quickly in the cloud and old data seems to linger for a while. But have no fear. The information below outlines &hellip; Find SKUs and Images available in Azure RM Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\" \/>\n<meta property=\"og:site_name\" content=\"ciraltos\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-13T12:52:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-02-15T03:14:58+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku1.jpg\" \/>\n<meta name=\"author\" content=\"Travis Roberts\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:site\" content=\"@ciraltos\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Travis Roberts\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\"},\"author\":{\"name\":\"Travis Roberts\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"headline\":\"Find SKUs and Images available in Azure RM\",\"datePublished\":\"2017-02-13T12:52:10+00:00\",\"dateModified\":\"2017-02-15T03:14:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\"},\"wordCount\":222,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"keywords\":[\"Azure\",\"Get-AzureRmVMImage\",\"Get-AzureRmVMImageOffer\",\"Get-AzureRmVMImagePublisher\",\"Get-AzureRmVMImageSku\",\"Get-AzureVMImage\",\"image\",\"Microsoft\",\"offer\",\"server 2012\",\"server 2016\",\"SKU\",\"windows\"],\"articleSection\":[\"Azure\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\",\"name\":\"Find SKUs and Images available in Azure RM - ciraltos\",\"isPartOf\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#website\"},\"datePublished\":\"2017-02-13T12:52:10+00:00\",\"dateModified\":\"2017-02-15T03:14:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ciraltos.com\/staging2\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find SKUs and Images available in Azure RM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#website\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/\",\"name\":\"ciraltos\",\"description\":\"cloud, technology and trends\",\"publisher\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a\",\"name\":\"Travis Roberts\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"contentUrl\":\"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png\",\"width\":5657,\"height\":3563,\"caption\":\"Travis Roberts\"},\"logo\":{\"@id\":\"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.ciraltos.com\",\"https:\/\/twitter.com\/ciraltos\"],\"url\":\"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Find SKUs and Images available in Azure RM - ciraltos","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/","og_locale":"en_US","og_type":"article","og_title":"Find SKUs and Images available in Azure RM - ciraltos","og_description":"If you\u2019ve landed here, odds are you are trying to find the SKUs or images available for your Microsoft Azure subscription and have already hit multiple pages referencing the outdated Get-AzureVMImage command. Things change quickly in the cloud and old data seems to linger for a while. But have no fear. The information below outlines &hellip; Find SKUs and Images available in Azure RM Read More &raquo;","og_url":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/","og_site_name":"ciraltos","article_published_time":"2017-02-13T12:52:10+00:00","article_modified_time":"2017-02-15T03:14:58+00:00","og_image":[{"url":"http:\/\/www.ciraltos.com\/wp-content\/uploads\/2017\/02\/ListSku1.jpg"}],"author":"Travis Roberts","twitter_card":"summary_large_image","twitter_creator":"@ciraltos","twitter_site":"@ciraltos","twitter_misc":{"Written by":"Travis Roberts","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#article","isPartOf":{"@id":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/"},"author":{"name":"Travis Roberts","@id":"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"headline":"Find SKUs and Images available in Azure RM","datePublished":"2017-02-13T12:52:10+00:00","dateModified":"2017-02-15T03:14:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/"},"wordCount":222,"commentCount":0,"publisher":{"@id":"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"keywords":["Azure","Get-AzureRmVMImage","Get-AzureRmVMImageOffer","Get-AzureRmVMImagePublisher","Get-AzureRmVMImageSku","Get-AzureVMImage","image","Microsoft","offer","server 2012","server 2016","SKU","windows"],"articleSection":["Azure"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/","url":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/","name":"Find SKUs and Images available in Azure RM - ciraltos","isPartOf":{"@id":"https:\/\/www.ciraltos.com\/staging2\/#website"},"datePublished":"2017-02-13T12:52:10+00:00","dateModified":"2017-02-15T03:14:58+00:00","breadcrumb":{"@id":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ciraltos.com\/staging2\/find-skus-images-available-azure-rm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ciraltos.com\/staging2\/"},{"@type":"ListItem","position":2,"name":"Find SKUs and Images available in Azure RM"}]},{"@type":"WebSite","@id":"https:\/\/www.ciraltos.com\/staging2\/#website","url":"https:\/\/www.ciraltos.com\/staging2\/","name":"ciraltos","description":"cloud, technology and trends","publisher":{"@id":"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ciraltos.com\/staging2\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/25391996d6cddfecd4d257162b7e373a","name":"Travis Roberts","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/","url":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","contentUrl":"https:\/\/www.ciraltos.com\/staging2\/wp-content\/uploads\/2023\/03\/Logo-1.png","width":5657,"height":3563,"caption":"Travis Roberts"},"logo":{"@id":"https:\/\/www.ciraltos.com\/staging2\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.ciraltos.com","https:\/\/twitter.com\/ciraltos"],"url":"https:\/\/www.ciraltos.com\/staging2\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":10,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":188,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/posts\/172\/revisions\/188"}],"wp:attachment":[{"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ciraltos.com\/staging2\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}