Your network contains two servers named HV1 and HV2. Both servers run Windows Server 2012 R2
and have the Hyper-V server role installed.
HV1 hosts 25 virtual machines. The virtual machine configuration files and the virtual hard disks are
stored in D:\VM.
You shut down all of the virtual machines on HV1.
You copy D:\VM to D:\VM on HV2.
You need to start all of the virtual machines on HV2. You want to achieve this goal by using the
minimum amount of administrative effort.
What should you do?
A.
Run the Import-VMInitialReplication cmdlet.
B.
From HV1, export all virtual machines to D:\VM. Copy D:\VM to D:\VM on HV2 and overwrite the
existing files. On HV2, run the Import Virtual Machine wizard.
C.
From HV1, export all virtual machines to D:\VM. Copy D:\VM to D:\VM on HV2 and overwrite the
existing files. On HV2, run the New Virtual Machine wizard.
D.
Run the Import-VM cmdlet.
Explanation:
Import-VM
Imports a virtual machine from a file.
Example
Imports the virtual machine from its configuration file. The virtual machine is registered in-place, so
its files are not copied.
Windows PowerShell
PS C:\> Import-VM –Path ‘D:\Test\VirtualMachines\5AE40946-3A98-428E-8C83-
081A3C6BD18C.XML’Import-VM
D.
Run the Import-VM cmdlet.