Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

How to change Storage Profile of VM in vAppTemplate?

$
0
0

Hi everyone,

 

I've got a project in front of me to migrate existing VMs from an existing storage profile or the * profile to a newly created storage profile.  I've determined how to get this done for VMs in vApps already and am able to update the storage profiles for those VMs and see them migrate to the datastores associated with the new storage profile.  I'm currently stuck trying to figure out how to update the VMs in vApp Templates.  I can retrieve the vApp Template using Get-CIVAppTemplate, but I'm not able to iterate through the VMs contained within.

 

So, my question is:  How can I operate on the VMs in a vApp Template to be able to change the storage profile?

 

Alternatively, is there a method for achieving my goal (move everything to a new storage profile) that I'm not seeing?  I am concerned that I'm going to make a mess of things in the storage by updating VMs individually.  If there was a way to lift and move a whole tree (similar to SSMove from Lab Manager), that would be great!

 

Thanks,

Jason


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>