![]() ![]() VhdDestinationPath specifies the directory the VHDX files of the VM will be copied to, and VirtualMachinePath sets the directory of the VM configuration files. ![]() To generate a new VM ID, use the GenerateNewId option: To copy a VM to another folder with the same ID, use the Copy option. In the Path option, specify the location of the VM configuration file (the VMCX file format replaced the XML format of VM configuration files in Hyper-V Server 2016). If you want to register the VM in place, run the following command: ![]() If you want to export the VM state from the specific checkpoint, specify its name.įirst, display the list of checkpoints available for the VM:Įxport-VMSnapshot -Name “win10 - ( - 3:12:205 PM) Standard” -VMName win10 -Path 'C:\VHD\export'Īfter the VM is exported, you can import it.
0 Comments
Leave a Reply. |