You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 hosts a virtual machine
named VM1. VM1 is in a workgroup. VM1 is currently in a running state.
You need to create 10 copies of VM1 on Server1 in the least amount of time possible.
Which cmdlets should you use?
A.
Stop-VM, and then Import-VM
B.
Export-VM, and then Import-VM
C.
Checkpoint-VM, and then New-VM
D.
Copy-VMFile, and then New-VM
Explanation:
References: http://www.thegeekstuff.com/2014/03/import-export-vm-hyper-v/
Answer B
B
A – wrong. To do Import you have to Export first. As it clearly states in description of Path parameter there: https://docs.microsoft.com/en-us/powershell/module/hyper-v/import-vm?view=win10-ps
B – correct. You can export a running one. In time of Import time of import new SID can be provided and files copied: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/export-and-import-virtual-machines#export-a-virtual-machine