Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

How to move a VirtualMachine from one Folder to another?

$
0
0

Hi there,

 

I'm trying to move a Vmware.Vim.VirtualMachine from one Vmware.Vim.Folder to another with the API Provided by the C# Vmware.Vim.dll from the

PowerCLI in a VisualStudio 2010 Project. Please be aware that these Folders are not "normal" Folders, these are the VMware containers...

 

Could someone tell me how to achieve this?

 

I found the vm.Relocate_Task() Method, but I was wondering wether it was for moving the disks in storage or should it be used for this task too?

 

Greetings,

Kjellski


Viewing all articles
Browse latest Browse all 1860

Trending Articles



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