With this script you can easily export your vApp to an OVF file and download the OVF and vmdk to your local computer.
First install the OVF Tool depending on your operating system. All downloads are at the bottom.
32Bit VMware-ovftool-4.1.0-2459827-win.i386.msi 64Bit VMware-ovftool-4.1.0-2459827-win.x86_64.msi
When the OVF Tool is installed put the file in the folder where you installed the OVF Tool.
Run the script Cloudmore-OVFEXPORT.ps1 and you will be presented with the options you can see in the image below, lines will appear when you type in your information and press enter.
Type in the username for the Organization administrator, type in your password for this user. Enter the vCloud Organization ID, you can see this in your address field in your browser when administrating your customer from the vCloud director or in our controlpanel.
Type in the name of the VDC, you can see this in the controlpanel och in the vCloud Director under administration.
Enter the name of the vApp you wish to export. You need to enter the full name of the vApp and it needs to be stopped.
Press enter and the script will use the information you entered to start OVFTool and connect to the Cloudmore vCloud and prepare a download of the vApp you specified. When it starts you will be able to see in the vCloud director that it is working and enabling download of the vApp. After this step has been completed the vApp download will start automatically.
The vApp will be downloaded to C:\OVFExport\vAppName by default. If you wish to change this edit the script and enter what path you want to save the vApp to.
32Bit VMware-ovftool-4.1.0-2459827-win.i386.msi. Change the .TXT extension to .msi
64Bit VMware-ovftool-4.1.0-2459827-win.x86_64.msi. Change the .TXT extension to .msi
Cloudmore-OVFEXPORT.ps1. Change the .TXT extension to .PS1