从“Win32_DesktopMonitor”获取多个监视器信息WMI类 [英] Get multiple monitor information from "Win32_DesktopMonitor" WMI class

查看:1297
本文介绍了从“Win32_DesktopMonitor”获取多个监视器信息WMI类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我试图通过"Win32_DesktopMonitor"列出我的笔记本电脑的显示器信息。 WMI类。我有2个额外的显示器连接到我的笔记本电脑,所以我总共有3个显示器屏幕。


当我执行"Get-WmiObject Win32_DesktopMonitor"时选择*"在我的系统上,我只获取笔记本电脑的主监视器信息。我在笔记本电脑上安装了Windows 8.1。


但是,当我在Windows 10中执行相同的查询时,我收到了所有显示器信息(笔记本电脑的显示器和其他附加显示器)。


我确实尝试谷歌此问题,但无法找到任何可行的解释此行为。 请协助。


如果这是操作系统兼容性问题,如何在Win 8.1中获得多显示器?



谢谢。 

解决方案

忘记提及:我需要使用Win32_DesktopMonitor类 因为我需要获得DeviceId,DisplayType,Monitor制造商信息,每英寸像素数等等。那么有没有任何调整解决方案!!



感谢。


Hi there,

I am trying to list down monitor information of my laptop through "Win32_DesktopMonitor" WMI class. I am having 2 additional monitors attached to my laptop so total I am having 3 monitor screens.

When I executed "Get-WmiObject Win32_DesktopMonitor | Select *" on my system, I am only getting primary monitor information of my laptop. I am having Windows 8.1 on my laptop.

However, when I executed same query in Windows 10, I am getting all monitors information (Laptop's monitor and other additional monitors).

I did try to google this issue, however could not find any feasible explanation of this behavior. Please assist.

If this is a OS compatibility issue, how can I get multi monitor in Win 8.1?

Thanks. 

解决方案

Forgot to mention: I need to use Win32_DesktopMonitor class  because I need to get DeviceId, DisplayType, Monitor Manufacturer information, pixels per inch, etc. So is there any tweaked solution exists for this!!

Thanks.


这篇关于从“Win32_DesktopMonitor”获取多个监视器信息WMI类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆