Powercli Storage Vmotion Template

I have quite a few templates and really don t want to do all of them manually within the vsphere client.
Powercli storage vmotion template. This is a powercli script that i use to storage vmotion s vmotion vms from an input file csv file. Storage vmotion then creates a child disk for each virtual machine disk that is being moved to capture a copy of write activity while the parent disk is in read only mode. Storage vmotion the powercli way. Powercli storage vmotion vms from one datastore to another january 20 2016 shanfitz script synopsis reason created we are doing a good bit of underlying infrastructure work on our san environments so we needed a script to move all vms from an old datastore to a new or different datastore.
Quick and dirty. Convert template to vm run storage vmotion convert back vm to template sysadmin style useful if you have several templates. This helps me evacuate vms from a datastore that will be decommissioned and this serves like an automation. The original parent disk is copied to the new storage location.
In the current version of vsphere there is no option within the client. Does anyone know of and have successfully used a powercli script to move multiple vm templates between 2 different datastores. 4 is the max running storage vmotion sessions could be other value. In order to automate this process i draft a simple powershell script to perform below tasks.
Vmware vsphere has the magical ability to move a vm not only between hypervisors but also between storage devices with a feature called vmotion. Linotelera aug 11 2016 7 35 am in response to thevminator. I have the same question show 0 likes. This also have a lesser performance impact compared.
With powercli vmotion and a variety of other complex tasks become easy and automatic via the command line interface. But what if you want to move your templates. I recently got a task to migrate more than 100 vmware virtual machine from one sets of datastores to another. Posted on january 21 2010 by afokkema.
Storage vmotion with powercli. Storage vmotion is a great feature to move your vms to other datastores. With this i do not have to log back to vcenter and manually do storage migrations. What is the easiest way to storage vmotion a vm with powercli.