Hi everyone!
How can I resolve the error below? May someone explain to me the error? I don't get it. The path exists!
PS C:\export> Import-VM -Path 'C:\export\Rancid\Virtual Machines\05262CA9-D444-44FE-ADF8-D364C6E0A1CA.vmcx' -Copy -GenerateNewId
Import-VM : Unable to import virtual machine due to configuration errors. Please use Compare-VM to repair the virtual
machine.
At line:1 char:1
+ Import-VM -Path 'C:\export\Rancid\Virtual Machines\05262CA9-D444-44FE ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-VM], VirtualizationException
+ FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.ImportVM
PS C:\export> $report = Compare-VM -Path 'C:\export\Rancid\Virtual Machines\05262CA9-D444-44FE-ADF8-D364C6E0A1CA.vmcx'
PS C:\export> $report.Incompatibilities[0].Source | fl
Path : C:\VMs\Rancid.vhdx
DiskNumber :
MaximumIOPS : 0
MinimumIOPS : 0
QoSPolicyID : 00000000-0000-0000-0000-000000000000
SupportPersistentReservations : False
WriteHardeningMethod : Default
ControllerLocation : 0
ControllerNumber : 0
ControllerType : IDE
Name : Hard Drive on IDE controller number 0 at location 0
PoolName : Primordial
Id : Microsoft:05262CA9-D444-44FE-ADF8-D364C6E0A1CA\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\0\0
\D
VMId : 05262ca9-d444-44fe-adf8-d364c6e0a1ca
VMName : Rancid
VMSnapshotId : 00000000-0000-0000-0000-000000000000
VMSnapshotName :
CimSession : CimSession: .
ComputerName : ERO-SRV-HOST02
IsDeleted : False
VMCheckpointId : 00000000-0000-0000-0000-000000000000
VMCheckpointName :
PS C:\export> $report.Incompatibilities | Format-Table -AutoSize
Message MessageId Source
------- --------- ------
Virtual Hard Disk file not found. 40010 HardDiskDrive (Name = 'Hard Drive on IDE controller number 0 at location...
PS C:\export>
