As shown,
Com. Vmware. Vim25. Mo. VirtualMachine object how to obtain the value of the folder, can use the command in powershell to: get - vm 'virtual machine names' | select the folder
Consult everybody a great god how to use the SDK take this value