I would suggest everyone to be careful before running this script. It will report even snapshot vm’s vmdk file as orphaned one. I lost one of my prod vm and had hard time reconfiguring it back.
Does anyone know how to add the disk sizes as well? I'd like to show how much space we could recover.
Also, it says at the top that this is for 3.0 hosts and for 3.5 hosts you should change the filenames. Exactly how do these differ between versions?
Thanks, Forbes.
Extended the scipt. It works for me. http://communities.vmware.com/blogs/esxfan
Good scripts, however it doesn't work well as it mistakenly reports VMDK from VMs that have a snapshot.