This topic describes how to get the name of the Windows Azure Gallery image. When you use the provisioning tools to deploy Microsoft Dynamics NAV on Windows Azure, you must provide the image name in the Set-PartnerSetting file or Set-PartnerSettings-Custom file.
Note |
---|
The name that appears for an image in the Windows Azure Gallery is a user-friendly label and not necessarily the same as the image name that is required in the Set-PartnerSetting file or Set-PartnerSettings-Custom file. |
To get the Window Azure image name
Sign in to the Windows Azure Management Portal.
Choose VIRTUAL MACHINES, choose NEW, and then choose FROM GALLERY.
On the Select the virtual machine operating system page, locate the image that you want to use.
Note the name of the image.
This is the label that is assigned to the image.
Start Windows Azure PowerShell.
At the command prompt, type the following command:
Copy Code ( Get-AzureVMImage | where-object { $_.Label -like "<ImageLabel>*" } )
Replace
<ImageLabel>
with the image label that you identified in step 3.For example, if the image label is Windows Server 2012, then type the following code:
Copy Code ( Get-AzureVMImage | where-object { $_.Label -like "Windows Server 2012*" } )
Press Enter to run the command.
The command returns a list of images that match the image label that you provided. An image can have several versions. You will typically use the latest version.
Locate the image that you want to use from the list, and then note the text string that is next to
ImageName:
parameter.This specifies the image name that you must provide in the Set-PartnerSetting file or Set-PartnerSettings-Custom file.