Hi,
I have a question/problem because I must move virtual machines from one folder to another (in inventory) using vSphere CLI.
I couldn't find any script. Do you have any idea ?
Regards,
Radek
Hi,
you have to use the move-vm command.
Usage:
Move-VM -vm vmname Folder
http://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Move-VM.html
Frank
Hi, thanks for your reply.
I know the function, but I need use something for vSphareCLI, no PowerCLI.
I have to use the function from linux, and as i know powerCLI i can use only on Windows Systems..
Maybe it is possible to register the machine in destination folder ? To register VM i use vmregister.pl script, and i can't find the option there
mmh,
i am not familiar with that. But take a look at that.
Frank