Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

List and count VM info by Folder

$
0
0

I was asked to find a way to gather information of our environment based on our folder structure. We will be working on chargeback models soon, but we would like to get an idea of what we have in our environment per folder (customer) before we start. For each folder we are looking for a count of VMs, total NumCPU, total MemoryMB, and total ProvisionedSpaceGB. I've only recently started using PowerCLI and Powershell, so I can pull folderpath and VM information, but have not been able to figure out how to create the mathematical functions in the script to total up what we have per folder. Any suggestions or help pointing in the right direction would be greatly appreciated.


Viewing all articles
Browse latest Browse all 193198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>