Export ESXi VM with ovftool

VMware Open Virtualization Format Tool

ovftool -ds=datastoreName -dm=thin "vi://root:password@esxiNameOrIPaddr/vmName" /path/to/vmOvfFolder