Hyper-V: Compare-VM (fix incompatibilities): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
Zeile 20: Zeile 20:
  
  
More Information: https://www.altaro.com/hyper-v/using-compare-vm/  
+
''More Information: https://www.altaro.com/hyper-v/using-compare-vm/''
  
  

Version vom 8. März 2019, 13:08 Uhr

Viewing VM-Configuration only with VMCX-File (Load it in a Variable)

$vm = compare-vm "<Path_to_the_VMConfiguration-File.vmcx>" -Register 
$vm.vm.HardDrives


Incompatibilities

Show all incompatibilities

$VM.Incompatibilities

Remove the incompatibilities (for example the Harddiskdrive)

$VM.Incompatibilities[0].Source | Remove-VMHardDiskDrive

Import the VM without incompatibilities (removed incompatibilities)

Import-VM -CompatibilityReport $vm



More Information: https://www.altaro.com/hyper-v/using-compare-vm/