Windows 2012 R2 HyperV -- convert ova to vhdx ?

finance_teacher used Ask the Experts™
I have an old "ova" file, but not the associated VMWare server it was originally on, therefore I cannot use the "Microsoft Virtual Machine Converter 3.0" software

What (powershell, etc) can I use to convert this Windows Server ova to vhdx ?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Zaheer IqbalTechnical Assurance & Implementation
IT Engineer
Distinguished Expert 2017
The .ova-package(file) is a tar-archive which can be decompressed and you will get two files: .ovf and .vmdk
Powershell command is based on MSVC but You've said you can't use it MSVC.
First you need to import script to powershell

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

I'm not sure if you can't run software dirrectly but if you have it an just looking for powershell command, you can try use this one

 ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath C:\Temp\yourufile.vmdk -VhdFormat vhdx -DestinationLiteralPath C:\yournewfile.vhdx

Open in new window

If you can use Microsoft Virtual Converter and you have no access to Vsphere to use this converting option Convert OVA to VHDX for Hyper-V and also you have no option to run Virtulabox to convert from OVA to VHDX then I would recommend V2V software

You can convert many formats
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Import into VMware Player/VMware Workstation and then use MVMC

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial