Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

Re: Sum and Average of object properties

$
0
0

(Although I am able to get a sum in a single variable by adding the code below, I can't get that variable added to the report output or to appear at the bottom of the MemoryGB column so as to show a total)

 

$ramsum= $report | Measure-Object -Sum -Property MemoryGB

write-output $ramsum


Viewing all articles
Browse latest Browse all 219257

Trending Articles



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