PrepAway - Latest Free Exam Questions & Answers

Which PowerShell command should you use?

You administer an Azure subscription with an existing cloud service named contosocloudservice.
Contosocloudservice contains a set of related virtual machines (VMs) named ContosoDC, ContosoSQL and
ContosoWeb1.
You want to provision a new VM within contosocloudservice.
You need to use the latest gallery image to create a new Windows Server 2012 R2 VM that has a target IOPS
of 500 for any provisioned disks.
Which PowerShell command should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
The New-AzureQuickVM cmdlet sets the configuration for a new virtual machine and creates the virtual
machine. You can create a new Azure service for the virtual machine by specifying either the Location or
AffinityGroup parameters, or deploy the new virtual machine into an existing service.
AdminUsername is not required.

https://msdn.microsoft.com/en-us/library/azure/dn495183.aspx

One Comment on “Which PowerShell command should you use?

  1. donathon says:

    A: New-AzureVM requires parameters.
    B: New-AzureVMConfig is the old command and cannot be used to put into a windows service I think.
    C: This is wrong.
    The New-AzureQuickVM cmdlet sets the configuration for a new virtual machine and creates the virtual machine. You can create a new Azure service for the virtual machine by specifying either the Location or AffinityGroup parameters, or deploy the new virtual machine into an existing service. AdminUsername is not required.




    0



    0

Leave a Reply