I'm looking for script to perform Storage Vmotion a given VM from a standalone datastore to
Datastore Storage Cluster by converting disk type from Thin to Thick (Lazy Zeroed)
What do you already have and where did you get stuck?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
$VM = get-vm testvm
$destDS = get-datastore vsandatastore
$disktype = ?
Move-VM $VM -Datastore $destDS -DiskStorageFormat
I'm confused what the variable diskype should be?
I've tried the below but it doesnt work
Move-VM $VM -Datastore $destDS -DiskStorageFormat Thick
On the Move-VM help page it says that the DiskStorageFormat parameter accepts Thin, Thick, and EagerZeroedThick values.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
