Guys,
I wonder if someone can help me.
I need to add additional hard disks to several virtual machines and am using the vSphere PowerCLI v5.1 against a vCenter Server running 5.1.0b. When I attempt to add the disk using the new-harddisk cmdlet I get the following error:
New-Harddisk : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:13
+ new-harddisk <<<< -vm WinXpMstr -capacityGB 100 -diskpath "[VMs] WinXPMstr/1234.vmdk"
+ CategoryInfo : InvalidArgument: (:) [New-Harddisk], ParameterBindingException
The full syntax of the command I run is:
new-harddisk -vm WinXPMstr -capacityGB 100 -diskpath "[VMs] WinXPMstr/1234.vmdk"
Thanks
Paul