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

Re: How to get the Available CPU and Memory capacity in Cluster via Powershell ?

$
0
0

Sure, replace this line

"Memory Available Capacity"=$rp.Runtime.Memory.MaxUsage-$rp.Runtime.Memory.ReservationUsed

with this

"Memory Available Capacity MB"= [math]::Round(($rp.Runtime.Memory.MaxUsage-$rp.Runtime.Memory.ReservationUsed)/1MB,0)



Viewing all articles
Browse latest Browse all 199442

Trending Articles



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