How is it possible to get current VMconnect resolution?

Mar 19, 2010 at 11:43 PM

Hello, when doing an automated Get-VMThumbnail on many VMs used by actual persons, I found out that the bitmaps appear sometimes stretched, or compressed.
When digging in "what's the cause", I selected different output sizes when running Get-VMThumbnail, and finally discovered that some users changed the resolution of their console session.
In order to get 1:1 between the session resolution, and the thumbnail size, how would it be possible to grab the session resolution before calling Get-VMThumbnail?

Thanks,

LB