You manage a virtual Windows Server 2012 web server that is hosted by an on-premises
Windows Hyper-V server. You plan to use the virtual machine (VM) in Azure.
You need to migrate the VM to Azure Storage to add it to your repository.
Which Azure Power Shell cmdlet should you use?
A.
Import-AzureVM
B.
New-AzureVM
C.
Add-AzureDisk
D.
Add-AzureWebRole
E.
Add-AzureVhd
Explanation:
Ref: http://msdn.microsoft.com/en-us/library/dn495173.aspx
Is it C Add-Azure Disk
as the question says repository
http://msdn.microsoft.com/en-us/library/azure/dn495252.aspx
Any idea
sorry it should be E only as it is not a new one to create
I think the correct answer is E, you have to upload a disc already created
It’s E.
Since we do not need create a new auzre disk, but just add an existing one.
‘E’ is correct.
https://msdn.microsoft.com/en-us/library/azure/dn495173.aspx
E is correct
Add-AzureVhd
Uploads a virtual hard disk (in .vhd file format) from an on-premises virtual machine to a blob in a cloud storage account in Azure.
Add-AzureVhd -Destination http://mytestaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd -LocalFilePath C:\vhd\MyWin7Image.vhd