To further clarify, you can export a vApp to an OVF file like this
Get-vApp -Name MyvApp | Export-vApp -Destination "C:\Folder"
But getting your VM inside a vApp with PowerCLI is not straightforward.
Thanks for the response, I downloaded and installed the tool, I'm looking online to see how to use it. These are ESXi boxes btw.
Actually, it is not hard to move a VM inside a VApp. Here's how:
Get-VM vm_name | Move-VM -Destination vapp_name
After that, you can export the VApp. Hope this helps..
Didn't know that one, good to know.
You should update the help for the Move-VM cmdlet :-)
Thanks, I appreciate the help. Unfortunately we don't have a DRS license in the environment in which I need to export, so I can't even create a vApp. The manual way of exporting a VM as a .OVF seems so easy, you would think there would be a cmdlet for it. Maybe on the next version or update. Thanks for the help.