Import-VM : Unable to import virtual machine due to configuration errors. Please use Compare-VM to repair the virtual machine.So, I ran Compare-VM and placed the output in a variable for easier viewing:
$report=Compare-VM -Path .\GUID.xmlThe mystery was solved when I looked at the incompatibilities property in the output:
The incompatibilities showed that a a virtual network was missing:
Message: Could not find Ethernet switch 'Cluster Network'.
When I took a look at my virtual networks, I saw that the script I ran to create the virtual networks created Cluster_Network instead of "Cluster Network". After I renamed the network, then all was good.