Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

New-Harddisk Problems

$
0
0

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


Viewing all articles
Browse latest Browse all 180259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>