Login to the ESXi Host
First of all, login to the web management interface of the ESXi 6.7 host by typing the IP address into a web browser.
Click on Virtual Machines, right click on the name of the virtual machine you want to export, then click Export. Click Export. Choose a location to save the OVF file to. Save the VMDK files to the same location. Wait for the export to complete and then check the location on your local machine for the exported files.Export the VM as an OVF