Add-Type -AssemblyName System.Windows.Forms # [System.Windows.Forms.SystemInformation]::PrimaryMonitorSize $WmiVideoController=(Get-WmiObject -Class Win32_VideoController).VideoModeDescription; [PSCustomObject]@{ FormsScreens=[System.Windows.Forms.Screen]::AllScreens; WmiVideoController=$WmiVideoController; }