Hope you guys can help...
The script runs fine but now i'm getting a Bad file descriptor error in the task pane of the vsphere client whenever the scripts starts to copy the file. Any ideas as to how to fix this?
I have tried createing a new virtual machine and adding the existing vmdks to it, but that still doesn't work.
I have also tried using the standalone converter to create a new machine, and it still gives that error.