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

Not able to clone from PowerCLI

$
0
0

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


Viewing all articles
Browse latest Browse all 180259

Trending Articles



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