Get memory configuration of all vm’s on hyper-v server and output to text file

2013/01/28 | By | Reply More

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

Tags:

Category: Uncategorized

Leave a Reply

%d bloggers like this: