Home » Microsoft » 70-534 v.2 » 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-AzureDataDis
Correct Answer: C
Explanation/Reference:
Explanation:
The Add-AzureVMImage cmdlet adds a new operating system image or a new virtual machine image to the image repository. The image is a generalized operating system image, using either Sysprep for Windows or for Linux, using the appropriate tool for the distribution.
References: https://docs.microsoft.com/en-us/powershell/module/azure/addazurevmimage? view=azuresmps-4.0.0