Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: vShpere API - Move_VM

$
0
0

Hi

 

Sorry for the delayed answer!

 

I'm using the PowerCLI and I'm using the following command:

-> move-vm -VM VM_Name -Datastore DRS_Cluster_Name   (the name of the storage DRS cluster is DRS_Cluster in my case)

 

When I use this command, I get the following error message.

VM_PowerCLI.jpg

When I use "move-vm -VM VM_Name -Datastore Datastore_Name" instead (so a normal datastore and not the storage cluster) the move-vm action is working fine. The VM is then moved from one datastore to another.

 

I'm on vSphere 5.0.0.

 

Can anyone tell me what is wrong in my command and how I can move the VM from a normal datastore to a storage DRS cluster?

 

Many thanks

Helmut


Viewing all articles
Browse latest Browse all 232869

Trending Articles



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