Comment

I believe that adding the -Inflate parameter to each of the Set-HardDisk commands (lines 83 & 87) would accomplish this:

Set-Harddisk -Harddisk $disk -Datastore $destinationDS -Inflate -Confirm:$False