PowerCLI: Get Virtual Machine total size
Ever wondered how much disk space your Virtual Machine actually is using? Arnim van Lieshout wrote a script that takes it all into account, including snapshots, swap files, log files and even the configuration files. No matter if these files are different LUNS or not. The script just takes the name of your VM as a parameter and does the math for you.