I have checked all cmdlets. I am running powercli 6.0r1 with vcenter 5.0. There is move-inventory cmdlet, however it only accepts items of type folder, resourcepool, datacenter, vm, vmhost, template, or cluster objects. Otherwise its a no brainer:
move-inventory -item $vds -Destination $folder.
Of course it does not work. I have been scouring for a way but am at a loss. I checked perhaps a method on the vds or the folder to no avail as well. Dragging and dropping works fine, so there has to be a powercli way to do it right? I also checked all the reconfig specs and objects with any clues if i can use one of them. Or am i blantently missing something or unaware of a cmdlet? I don't want to resort to dragging and dropping all 60+ VDSs i have.
Thanks in advance.