Which Azure Power Shell cmdlet should you use?

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

Answer: C

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 appropriate tool 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

Explanation: http://msdn.microsoft.com/en-us/library/azure/dn495163.aspx

Latest 70-533 Dumps Valid Version with 351 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments