Convert 500+ thick disks to Thin

This post was originally published on this site

Hi,

 

I need a script which can covert thick disks to Thin, requirement is aa below.

 

1. Get VM name/Thick disks list, source datastore  and destination datastore from CSV file.

2. Move only the thick disks from the above VMs to destination data store by changing the provision type to thin.

3. Post that it has to migrate back the disk to source datastore.

Script has to run one after one.

 

I need your help to complete the above task. Kindly do the needful.

 

Best regards,

Sai Krishna

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.