Closed toni-moreno closed 8 years ago
Hi, you can lookup all counters with (Get-Counter -ListSet *).paths
And to get some Value from it to evaluate use this get-counter "\Memory\% Committed Bytes In Use" -SampleInterval 2
Link to more usefull stuff regarding perfcounters and powershell http://www.powershellmagazine.com/2013/07/19/querying-performance-counters-from-powershell/
Hi @MattHodge . I'm working with this wonderful tool and we are getting these memory counters.
But we also need the % physical used memory . In this case we can compute the value if either of those values could be obtained.
There is any counter matching these values? There any workaround to get these values from other scripts like perhaps this other( https://github.com/pdxcat/PowerShell-Graphite/blob/master/Get-MemStats.ps1)