I am trying to get a list of all VMs under a specific folder. I found a script to list all of the VMs by folder:
listVMByFolder.pl
but this is not the same as listing all of the VMs under a specific folder, as the script lists all of the VMs and I do not see any option to only list the VMs in a specific folder. I am hoping to find a script that might would something like this:
vmbyfolder_single.pl --username XXX --password ZZZ --url https://10.2.29.26/sdk/vimService --folder FolderName
Whereby the script only prints out the VMs underneath "FolderName": (including all sub-folders) I would relatively straight forward, but I was hoping that there was something already available.Any help is appreciated.