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 ?
you have to use the move-vm command.
Move-VM -vm vmname Folder
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
i am not familiar with that. But take a look at that.