I am attempting to automated a fairly repetive task that is very timeconsuming. Essentially I need to copy VMDKs from one datastore to another. The fastest way I have found so far is through the vSphere client by using the copy/paste feature within the GUI, my assumption is that it's leveraging VAAI which is why it is so speedy. I have played with the CopyDatastore-Item CMDlet but leveraging the PS-Drive slows the process down considerably. Any assistance or other ideas of how this could be approached would be most appreciated!
Afaik there is currently no direct support for using VAAI in the PowerCLI cmdlets.
If you specify moveAllDiskBackingsAndAllowSharing, the clone or move should be using VAAI.