Required parameters:
--in-path=<PATH> - path to the image file to be converted.
Additional parameters:
--in-format=<FORMAT> - input image format - RAW, VHD, VHDX,
--out-path=<PATH> - path to output image,
--out-format=<FORMAT> - output image format - RAW, VHD, VHDX,
--in-place - converts to the same file and rename it if necessary. Using this parameter will speed up conversion performance (does not apply to VHDX),
--help - shows help,
--show-params - shows used parameters with their values.
Example command:
Remember that before converting, the VHD and VHDX files should be of the Flat type - means that the disk has a fixed, not dynamically increasing, size.
Usage case:
1. Restore the physical machine as a virtual machine in Hyper-V:
- at first you need to make a HDD Image backup,
- restore it from the client application or Management Center,
- use the Xopero Image Tool and convert the image,
- add a machine to the Hyper-V whose disk will be the converted image.
2. Transfer the machine from another Hyper-V virtualizer:
- install the Xopero client application inside the machine,
- make a HDD Image backup,
- restore it from the client application or Management Center,
- use the Xopero Image Tool and convert the image,
- add a machine to the Hyper-V whose disk will be the converted image.
3. Mount the image in the file system:
- make a HDD Image backup,
- restore it from the client application or Management Center,
- use the Xopero Image Tool and convert the image,
- go to Computer Management,
- right-click on Disk Management and select the option Attach VHD.
To start the machine with UEFI, image have to be converted to VHDX.