码迷,mamicode.com
首页 > 系统相关 > 详细

Convert a VMDK (VMWare) file to VHDX (Hyper-V)

时间:2019-02-02 12:58:04      阅读:281      评论:0      收藏:0      [点我收藏+]

标签:.com   http   mos   phi   provides   toolbar   ase   hyper-v   win   

https://www.meziantou.net/2016/09/09/convert-a-vmdk-vmware-file-to-vhdx-hyper-v

Microsoft provides a free tool to convert an existing virtual machine to a Hyper-V virtual machine: Microsoft Virtual Machine Converter.

This tool has a graphical interface allowing to carry out the most common operations. However, in some cases (often non-enterprise), you must use the supplied PowerShell cmdlet.

For example, the following script converts a virtual hard disk of type VMDK (VMWare) to a virtual disk in VHDX (Hyper-V) format :

Import-Module ‘C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1‘

$vmdk="sample.vmdk"
$vhdx="sample.vhdx"

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath $vmdk -DestinationLiteralPath $vhdx

 

按上述文章进行转换,虽然成功了,也启动了,但进不了系统。因为之前我的虚拟机系统是静态的,非DHCP的。

暂时没有想到解决办法。

Convert a VMDK (VMWare) file to VHDX (Hyper-V)

标签:.com   http   mos   phi   provides   toolbar   ase   hyper-v   win   

原文地址:https://www.cnblogs.com/luodengxiong/p/10348101.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!