Mit diesen durchaus nützlichen Zeilen könnt ihr eure VM in eine OVF-Vorlage exportieren:
Connect-VIServer -Server xy -Protocol https -User xy -Password xy Get-VM -Name xy | Shutdown-VMGuest -Force Get-VM -Name xy | Export-VApp -Destination "\\xy\z\" -Format OVF Start-VM -VM xy Disconnect-VIServer -Force