popunder new

https://www.blogger.com/blog/posts/1739890295310631346

Monday, January 28, 2013

Get memory configuration of all vm's on hyper-v server and output totext 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

No comments:

Post a Comment