When I run
Get-ResourcePool -name "RSNAME" | Get-Stat -Stat mem.consumed.average
is Powercli returning a weighted mean (Weighted arithmetic mean - Wikipedia, the free encyclopedia)? Or do I need to take in account that a vm may not have data points for each interval, i.e the vm didn't exist at that time?