Skip to content

Instantly share code, notes, and snippets.

View johnsout's full-sized avatar

Juan Soto johnsout

View GitHub Profile
hyperv-vmcx output will be in this color.
==> hyperv-vmcx: Creating build directory...
==> hyperv-vmcx: Starting HTTP server on port 8160
==> hyperv-vmcx: Creating switch 'packer' if required...
==> hyperv-vmcx: switch 'packer' already exists. Will not delete on cleanup...
==> hyperv-vmcx: Cloning virtual machine...
==> hyperv-vmcx: Error cloning virtual machine: PowerShell error: Hyper-V\Compare-VM : Object reference not set to an instance of an object.
==> hyperv-vmcx: At C:\Users\aspen\AppData\Local\Temp\powershell156685907.ps1:34 char:24
==> hyperv-vmcx: + $compatibilityReport = Hyper-V\Compare-VM -Path $VirtualMachinePath -VirtualMach ...