VMware OVF Tool

Command utility from VMware used to import and export OVF and OVA package files.

Download the the utility from VMware Code

Once installed command syntax is below for export and import:

# Export  
(can use with .ova OR .ovf file extensions)

ovftool vi://my_user@<vcenter_ipaddress>:443/<datacenter_name>(remember '%20' if there are spaces)/vm/Folder1/my_vm_name my_vm_name.ovf


# Import 
(can use with .ova OR .ovf file extensions)

ovftool --acceptAllEulas -ds=my_datastore --net:"my_network" -dm=thin my_vm_name.ovf "vi://administrator@vsphere.local@10.1.1.100/Cluster/host/folder"


Reference: 
https://techpartnerhub.vmware.com/development-tools/ovf/4.4.0