locked
Convert VMDK to VHD locally without uploading to Hyper-V or Azure RRS feed

  • Question

  • Hello,

    I'm running Windows 8.1 Professional on my laptop. I'd like to convert a VMDK to a VHD, without uploading the resulting VHD to Azure or Hyper-V directly. I'll handle the image upload and VM creation through my own PowerShell scripts. How can I use the Microsoft Virtual Machine Converter tool to achieve this? The GUI only gives me the options to upload directly to Azure or move the VM into Hyper-V, neither of which I want to do. I simply want to perform the conversion, for the time being.

    Cheers,
    Trevor Sullivan
    Microsoft MVP: PowerShell


    If this post was helpful, please click the little "Vote as Helpful" button :)

    Trevor Sullivan
    Trevor Sullivan's Tech Room
    Twitter Profile

    Wednesday, October 22, 2014 3:27 PM

Answers

  • Hmmm, I just read the documentation for the PowerShell commands in the VM converter tool, and it appears that there is a command called ConvertTo-MvmcVirtualHardDisk that will do what I need it to. As I suspected, I might have to drop the GUI and just go with whatever command line automation is available. Even better. :)

    Cheers,
    Trevor Sullivan
    Microsoft MVP: PowerShell


    If this post was helpful, please click the little "Vote as Helpful" button :)

    Trevor Sullivan
    Trevor Sullivan's Tech Room
    Twitter Profile

    Wednesday, October 22, 2014 3:33 PM