Get memory configuration of all vm’s on hyper-v server and output to text file
Two line powershell script that gets memory configuration of all vm’s and outputs to text file. Change path and name of vmmemory.txt to suit your needs.
Works on Server 2012 with powershell 3
Get-VM | Get-VMMemory | out-file -filepath C:\VMMemory.txt
C:\VMMemory.txt
[/sourcecode]
Category: Uncategorized