Quantcast
Viewing all articles
Browse latest Browse all 228891

Re: How to get provisioned memory in host's view

Try something like this

Get-VM|SelectName,
@{N="Host Memory Provisioned MB";E={$_.ExtensionData.Summary.Quickstats.StaticMemoryEntitlement}},
@{N="Host Memory Consumed GB";E={[math]::Round($_.ExtensionData.Summary.Quickstats.HostMemoryUsage/1KB,2)}}

I added both values since I wasn't sure which one you intended

Image may be NSFW.
Clik here to view.
hostmemory.png


Viewing all articles
Browse latest Browse all 228891

Trending Articles



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