The other day I was faced with the need to transfer all the virtual machines that worked in VirtualBox to the ESXi server. Googling, I did not find a simple and quick way, but I found interesting articles about the PSPC application from PuTTY and wondered how it could be applied in solving the problem.
So, let's begin.
We need the installed software VirtualBox and PSCP. PSCP (PuTTY Secure Copy client) is a console application for transferring files over SSH. This application can be found in the folder where PuTTY was installed.
On a computer with VBox installed, we will make a virtual machine disk clone in the VMDK format. This is done very easily on the command line with the command:
')
VBoxManage.exe clonehd drive_name.vdi drive_name_name.vmdk --format VMDK
After the cloning is complete, you must transfer the disk image to the ESXi server. For the transfer, you must verify that SSH is enabled on the server. This can be done in the ESXi server settings in the Security profile.

To transfer the clone of the image, we use the PSCP console application. To do this, use the command
pscp.exe "path to a disk image in VMDK format" server_user_name_ESXi @ server_ IP_address: / vmfs / volumes / datastore1 (ESXi virtual disks storage name)
It looks like this:

Then in the VMware client we create a virtual machine with the necessary parameters and connect the transferred disk image to the virtual machine.

We start the virtual machine and publish a joyful whoop.
PS Checked with a clone of the hard disk on which Windows Server 2008 R2 is installed.