If you are using Oracle Virtual Box with .vdi format for the disk image and want to move your virtual machine to Microsoft Hyper -V there is a small migration required as currently Hyper-V doesn’t read the .vdi file.
The good part is that its extremely easy as well as Virtual Box also comes with a GUI to convert .vdi files to .vhd files.
Oh yes ! there is a nerdier way of converting the file too, just locate the VirtualBox binaries and fire the following command 😉
vboxmanage clonehd <source path to vdi file> <destination path of vhd file> -format VHD
If you have any questions please feel free to PM me or leave a comment.