Problem:
How can I export a VM as an ova file from vCenter?
Solution:
Run the below in PowerCLI
Import-Module VMware.VimAutomation.Core Connect-VIServer vCenter Export-VApp -Destination 'E:\MyFolder\MyOVA.ova' -VM 'MyVMName' -Format Ova
DailySysAdmin | For all things IT!
A resource for Sys Admins & IT Pros
Problem:
How can I export a VM as an ova file from vCenter?
Solution:
Run the below in PowerCLI
Import-Module VMware.VimAutomation.Core Connect-VIServer vCenter Export-VApp -Destination 'E:\MyFolder\MyOVA.ova' -VM 'MyVMName' -Format Ova