- Install VMware PowerCLI powershell module:
Install-Module -Name VMware.PowerCLI
2. Connect to server
Connect-VIServer 10.10.10.10
It will ask for credentials.
In case if you see error “Error: Invalid server certificate”, you will need to check Error: Invalid server certificate article.
3. Export VM
export-vm -vm vm-name -format OVA
It will export OVA and save it to tour current directory.
Also you can specify -destination parameter to local folder where this ova will be saved.
For example:
That’s it.