VMware

VMware powershell script for migrating to thin disks

With the advent of VMware 4.0, you now have the option to migrate VMs to thin disks. The only problem however, is that this feature is only available via the vSphere client and cannot be scripted into powershell.

A PowerShell function named Move-VMThin has been posted at http://poshcode.org/1579 that allows for migrating to thin disks from command line. Using this, you can easily queue up several migrations, while limiting the migrations to only 1 running at a time.

Leave a Reply