I would like to know if it is possible to collect virtual machine logs using vCenter plug-in API instead of connecting to the machine and export the logs. Does VMware tools help in this situation.
Which file(s) do you want to download?
There are some API supported by vCenter plug-in that could help to download file(s) from a VM. Check documentation for VcGuestFileManager scripting class and its methods like initiateFileTransferFromGuest and downloadFile
Thank you. I will check VcGuestFileManager methods.