Learn about Windows PowerShell
Summary: Use Windows PowerShell 3.0 on Windows Server 2012 to easily find the memory configuration of your Hyper-V virtual machines.
How can I easily find the memory configuration on my Windows Server 2012 Hyper-V virtual machines by using Windows PowerShell?
Use the Get-VM cmdlet and pipe the results to the Get-VMMemory function, as shown here.
Get-VM | Get-VMMemory
Interesting tip, I've always just opened the Hyper-V manager and checked that way, but I suppose this would be useful for people with a terminal server!
@Danny thanks, I am glad you found the tip useful. It is also useful if you have several virtual machines on several Hyper-V servers ... then it really opens up the power.
@Danny @iammred For example, if I have two hyperv servers one named hyperv2 and another named hyperv3, then I can quickly find the vmmemory as seen here:
get-vm -ComputerName hyperv2,hyperv3 | get-vmmemory