Today’s helpful scripts are ready to use scripts that generate an overview of your VM’s and your Datastores and save it to a HTML file. Great for reporting purposes. Easy to modify to meet your needs. Give them a try:
This one shows datastores with Used Space in GB, Free Space in GB and % Free Space.
This one shows vm’s with OS Name, Total Disk Size in GB and Memory Size in GB.