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.