Hi,
To get the VM's of a vAppTemplate in the catalog you can look at the "Children.VM" property of extensiondata. Then you can perform specific actions to the VM's.
Eg: To consolidate all the VMs you could do the following:
$vAppTemplate = get-CIvAppTemplate "TemplateA" $vms = $vAppTemplate.ExtensionData.Children.Vm Foreach ($vm in $vms) { $vm.Consolidate_Task() start-sleep 60 }
If you wish to move an entire vAppTemplate to another storage profile, just add the new storage profile to your ProviderVDC, then add it to your OrgVDC, then right click on the vAppTemplate and choose "Move to Catalog" or "Copy to Catalog" and change the storage profile in the drop down list. I'm not sure how to achieve this with PowerCLI.
Cheers,
DeanH