You manage several Azure virtual machines (VMs). You create a custom image to be used by employees on
the development team.
You need to ensure that the custom image is available when you deploy new servers.
Which Azure Power Shell cmdlet should you use?
A.
Update-AzureVMImage
B.
Add-AzureVhd
C.
Add-AzureVMImage
D.
Update-AzureDisk
E.
Add-AzureDataDisk
Explanation:
The Add-AzureVMImage cmdlet adds an operating system image to the image repository. The image should be
a generalized operating system image, using either Sysprep for Windows or, for Linux, using the appropriatetool for the distribution.
Example
This example adds an operating system image to the repository.
Windows PowerShell
C:\\PS>Add-AzureVMImage -ImageName imageName -MediaLocation http://
yourstorageaccount.blob.core.azure.com/container/sampleImage.vhd -Label
http://msdn.microsoft.com/en-us/library/azure/dn495163.aspx