Created
September 8, 2017 18:49
-
-
Save matthiasbaldi/05a50be24185616e763c1961f1d5ad1b to your computer and use it in GitHub Desktop.
Convert VMWare VMDK to HyperV VHDX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// credits to: | |
// http://www.askme4tech.com/how-convert-vmware-virtual-machine-hyper-v | |
1. Install Microsoft Virtual Machine Converter | |
2. Open Powershell as Administrator | |
// Enter command | |
3. Import-Module "C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1" | |
// https://stackoverflow.com/questions/37481737/error-when-converting-vmware-virtual-disk-to-hyperv | |
4. Edit the VMWare vmdk file in a text editor and remove the complete "The Disk Data Base" | |
// Fix path's and enter command | |
5. ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "C:\Users\user\Documents\temp\vm\pgdc.vmdk" -DestinationLiteralPath "C:\Users\Public\Documents\Hyper-V\Virtual hard disks\pgdc" -VhdType DynamicHardDisk -VhdFormat Vhd. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment