That functionality makes the Compare-VM cmdlet ideal for troubleshooting virtual machine import issues. Its job is to assess whether or not a particular Hyper-V host is capable of hosting the virtual machine that you wish to import. The tool of choice for troubleshooting virtual machine import problems is a PowerShell cmdlet called Compare-VM. Fortunately, Microsoft provides a tool that can help you to troubleshoot the problem. Sometimes, however, the import process can fail and you may not get a lot of information as to why the failure has occurred.
This functionality has existed for a long time, and in my experience, the virtual machine import process usually goes fairly smoothly. Microsoft makes it possible to import virtual machines into Hyper-V using either the Hyper-V Manager or PowerShell’s Import-VM cmdlet.