Q:

Hyper-V virtualization with google compute engine image

I am trying to download an image from my Google Compute Engine VM Instances in Google Cloud Platform and I'm following this article to export the image to a GCS Bucket and download it locally. I need to restore/import this image in an on-premises Hyper-V VM  for testing purposes.
How can I virtualize a Hyper-V VM from a GCE image?

A:

If the file you downloaded is a raw image of the virtual hard drive, then you will need to convert it to a VHD or VHDX first. The tools available in VirtualBox are a good fit for this situation.
VBoxManage.exe clonehd "diskimage.img" "diskimage.vhd" -format vhd

or
VBoxManage.exe clonehd "diskimage.img" "diskimage.vhdx" -format vhdx

