vmware advanced search to get folder path
Has anyone tried using this to get a full folder path for a vm?
i.e My input is a folder mor and I want to get the full path to pass to a vm operation.
Right now I'm using a powercli operation which can be a little slow. But when I've tried to use the advanced search it returns child folders.
e.g propsType - Folder
propsPathset - name,parent
propsRootObjType - Folder
propsRootObj - group-v12345
So it will return the folder name if no children are present but if children are present it will return all of them. It kinda makes sense based on the description on how the operation searches but I'm hoping I've made a mistake and theres an simple way to make it only return the name of the current folder and parent property.