I was looking for the way to get list of files resides under VirtualMachine Folder on DataStore.
My base requirement is, I need VM name & DataStoreName where vmware.log file is archived as vmware-*.log with file.
Any way to get this below requirement.
VM_Nname DataStore_Name Folder_Path Files
ABC LUN01_01 [LUN01_01]\ABC ABC.vmx