Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whats the correct syntax for coping a vmdk with PowerCLI? I'd like to do the same as vmkfstools -i

Get-HardDisk Machine1 | Copy-HardDisk "[DS] Machine2/test.vmdk"

Produces: Copy-HardDisk : 21.01.2010 17:59:57 Copy-HardDisk 5285a123-e8b0-06df-984f-6ce1f7c0e080 The operation for the entity failed with the followi ng message: "General fault caused by file. One of the parameters supplied is invalid"

share|improve this question
You can try the community forums here:…. I have PowerCLI loaded locally, and checked the help file, but don't have access to my ESXi server currently to double-check. – Marco Shaw Jan 23 '10 at 11:11
Thanks Marko, thats what i did (See my Answer below) By the way: The copy command fails on (at least unlicenced/free) ESXi.. seems just to work on ESX. – icnivad Jan 24 '10 at 18:25
up vote 2 down vote accepted

After troubleshooting with help of the VMWare community i found that i need to give the parameter: DestinationStorageFormat Thin with the command. Not sure yet why Thick does not work...

A proper Error Message would saved me a lot of troubleshooting time ;-)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.