Query state of assigned dynamic memory?

Nov 14, 2012 at 12:41 PM
Edited Nov 14, 2012 at 1:00 PM

I noticed that the cmdlets included in Windows 8 and Server 2012 show the amount of currently assigned Dynamic Memory (eg http://blogs.technet.com/b/uktechnet/archive/2012/08/24/guest-post-managing-hyper-v-with-powershell-version-3.aspx). This module doesn't. I can see that apparently it's because the underlying WMI class Msvm_MemorySettingData doesn't expose such a property.

Any plans to get round that (is it stored elsewhere perhaps?), or does anyone know how I might grab the Win8 modules into my Win7 system somehow?



Nov 14, 2012 at 1:56 PM
Edited Nov 14, 2012 at 1:57 PM

Ah... just found it in


Get-VM -server SERVER | Get-VMSummary | Select VMElementName, MemoryUsage

I was looking in Get-VMMemory...