Convert VMware to Hyper-V via CLI

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
sdeviller@gmail.com
Posts: 1
Joined: Thu Nov 21, 2019 8:48 pm

Thu Nov 21, 2019 9:03 pm

Hello,

I am looking for some assistance in converting a bunch of VM's from VMware to Hyper-V. I have been l looking at the documentation, but find it vague. If anyone has done this and could help out.

The scripts examples all show that you need to specify the file name, but what if you have multiple files attached to your VM's?

This is what I have so far, am I on the right track?

V2V_ConverterConsole.exe convert in-host_type=esx in_host_address="0.0.0.0" in_host_username="root" in_host_password="PASSWORD" in_vm_name="SVR-01" out_host_type=win out_host_address="localhost" out_host_username="WINUSER" out_host_password="WINPASS" out_vm_name="SVR-01" out_file_name="C:\ClusterStorage\Volume1\VM\disk1.vhdx" out_file_type="ft_vmdk_ws_thick"

Thanks everyone,
Steve
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Tue Nov 26, 2019 12:18 pm

The GUI version of V2V Converter is single-threaded, but the solution features a command-line interface that enables you to run a batch script and convert multiple VMs at a time. Here are the commands and parameters which may come in handy: https://www.starwindsoftware.com/v2v-he ... rface.html. Here is the thread on our forum where the user has encountered a similar problem: https://forums.starwindsoftware.com/vie ... =15&t=4459 (see there for a *.bat file listing).
evehodson
Posts: 1
Joined: Thu Dec 19, 2019 3:24 am

Thu Dec 19, 2019 3:28 am

Perfect. Thank you.
Last edited by evehodson on Thu Jan 16, 2020 9:08 am, edited 1 time in total.
yaroslav (staff)
Staff
Posts: 2279
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 19, 2019 9:07 am

We are always here to help you.
Post Reply