alanrenouf/vCheck-vSphere — pull request #51 by sammcgeown (2013-08-21 12:59:19+00:00)
Title: 33 - CPU Usage plugin performance improvements

vCheck.ps1 - Minor sort tweak on the TimeToRun Plugin table to sort by time run descending.

33 - VM CPU Usage.ps1 - Used the -IntervalMins parameter rather than the -Start and -Finish
parameters, this reduces the runtime by approx 60%. Testing showed each
Get-Stat call reduced from 5 seconds to 2 seconds, overall runtime for
48 VMs was reduced from an average of 333 seconds to 134 seconds.