Hi All ,
I have a Vcenter Setup and having one ESXi host . When i am trying to clone a VM residing in the ESXi via Powercli , its giving error not able to find storage datastore1 . Below is the command i gave from vCenter .
Powercli > New-VM -name clone1 -Datastore datastore1 -VM <sourcevm name> -VMHost <ESXI name>
New- New-VM Unable to get objects by name: server <ESXI name> not connected .
New-VM : New-VM Could not find StorageResource w
ith name 'datastore1'.
But I was able to do the cloning from Vsphere GUI .
Note : Datastore1 is local storage in ESXi host .
Regards
Deb