With this script you can easily import your vApp to vCloud using your prepared OVF file.
First install the OVF Tool depending on your operating system.
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-OVFIMPORT.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 and in the vCloud Director under administration.
Enter the name of your desired vApp name. This will be the vApp name from your imported OVF-file. Enter the name of your desired vApp Template name. This will be the vApp Template name from your imported OVF-file. Enter the name of the Catalog you want to upload your vApp to, the catalog can be created before running the script.
Press enter and the script will use the information you entered to start OVFTool and connect to the Cloudmore vCloud and prepare an upload of the vApp you specified. When it starts you will be able to see in the vCloud director that it is working and uploading your OVF-file. Verify in vCloud that the upload has started, leave the script running until the upload has completed.
OVFIMPORT, Change the .TXT extension to .PS1
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