Thursday, October 31, 2019
Finding Image Parameters
Market Place Images Selector Webpages:
https://azuremarketplace.microsoft.com/en-us/marketplace/apps
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoftwindowsserver.windowsserver?tab=Overview
Image Locator commands
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-manage-vm#understand-marketplace-images
List Publishers
Get-AzVMImagePublisher -Location "uksouth" | ?{$_.PublisherName -like "microsoft*"}
List Offers
Get-azvmImageOffer -Location 'UK South' -PublisherName 'MicrosoftWindowsServer'
List Sku (variants)
Get-AzVMImageSku -Location 'UK South' -PublisherName "MicrosoftWindowsServer" -Offer WindowsServer | ?{$_.Skus -notlike "*smalldisk"}
List Versions
Get-azvmimage -Location 'UK South' -PublisherName MicrosoftWindowsServer -Offer Windowsserver -Skus 2012-Datacenter
The New-AZVM -imagename parameter value can then be composed of Publisher, Offer, Sku, Version separated by colons
e.g.
-imagename "MicrosoftWindowsServer:WindowsServer:2016-Datacenter-with-Containers:latest"
Subscribe to:
Comments (Atom)