Hello,
I am trying to add a VM to a vApp using PowerShell. I know that there is no explicit cmdlet to do it, and I need to recompose the vApp.
I've used the great Instantiation script from http://velemental.com/2012/03/27/deploying-a-vapp-in-vcd-from-a-catalog-using-powercli-part-two-the-lab-use-case/ to successfully create vApps, but I need to be able to add additional VMs to the vApp that is created, and don't want to have a huge catalog to accomodate all the various server configurations required for our different vApps.
Unfortunately - I am completely failing trying to create a powershell script to recompose a vApp. I'm trying to start with the basics even, and just call recompose to rename a vApp, and it fails...
Does anyone have an example of a recompose script that they have created and can share?
If not, I'm juggling a few things and will post my broken script shortly for any assistance...
Thanks,
Jason