I know this is an old post but it proved useful to me the other day. As a result I created a function called Get-VMSwapInfo which was inspired by LucD's response that will output the VM's name, the name of it's swap file, the datastore it's located in, and how much space is left on that datastore. You can get the source and more info on my blog on this page. http://www.virtual-matt.net/2013/06/get-vm-swap-information/
↧