Automation

 View Only
  • 1.  Get-Stat & weighted mean

    Posted Jul 02, 2013 06:52 PM

    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?



  • 2.  RE: Get-Stat & weighted mean
    Best Answer

    Posted Jul 02, 2013 07:14 PM

    It is returning a weighted mean.



  • 3.  RE: Get-Stat & weighted mean

    Posted Jul 02, 2013 07:30 PM

    Just to avoid all misunderstandings, the weighted average is not done by the Get-Stat cmdlet.

    But that is done by the PerformanceManager.

    The Get-Stat cmdlet obtains the statistical data by calling a method of the PerformanceManager.