2019-7-29-PowerShell-拿到显卡信息
| title | author | date | CreateTime | categories |
|---|---|---|---|---|
|
PowerShell 拿到显卡信息
|
lindexi
|
2019-7-29 10:3:35 +0800
|
2019-02-21 09:47:52 +0800
|
本文告诉大家如何在 PowerShell 通过 WMI 拿到显卡信息
在 PowerShell 可以使用下面代码拿到显卡的信息
Get-WmiObject Win32_VideoController
打开 PowerShell 输入代码可以看到下面内容,当然因为小伙伴的显卡和我不相同,拿到的字符串是不相同
__GENUS : 2
__CLASS : Win32_VideoController
__SUPERCLASS : CIM_PCVideoController
__DYNASTY : CIM_ManagedSystemElement
__RELPATH : Win32_VideoController.DeviceID="VideoController1"
__PROPERTY_COUNT : 59
__DERIVATION : {CIM_PCVideoController, CIM_VideoController, CIM_Controller, CIM_LogicalDevice...}
__SERVER : lindexi
__NAMESPACE : root\cimv2
__PATH : \\lindexi\root\cimv2:Win32_VideoController.DeviceID="VideoController1"
AcceleratorCapabilities :
AdapterCompatibility : Intel Corporation
AdapterDACType : Internal
AdapterRAM : 1073741824
Availability : 3
CapabilityDescriptions :
Caption : Intel(R) HD Graphics 530
ColorTableEntries :
ConfigManagerErrorCode : 0
ConfigManagerUserConfig : False
CreationClassName : Win32_VideoController
CurrentBitsPerPixel : 32
CurrentHorizontalResolution : 1920
CurrentNumberOfColors : 4294967296
CurrentNumberOfColumns : 0
CurrentNumberOfRows : 0
CurrentRefreshRate : 60
CurrentScanMode : 4
CurrentVerticalResolution : 1080
Description : Intel(R) HD Graphics 530
DeviceID : VideoController1
DeviceSpecificPens :
DitherType : 0
DriverDate : 20181119000000.000000-000
DriverVersion : 23.20.16.4973
ErrorCleared :
ErrorDescription :
ICMIntent :
ICMMethod :
InfFilename : oem16.inf
InfSection : iSKLD_w10_DS
InstallDate :
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92d70c30b8effe\igdumd
im64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92d70c30b8ef
fe\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92
d70c30b8effe\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_
amd64_2c92d70c30b8effe\igd12umd64.dll
LastErrorCode :
MaxMemorySupported :
MaxNumberControlled :
MaxRefreshRate : 75
MinRefreshRate : 59
Monochrome : False
Name : Intel(R) HD Graphics 530
NumberOfColorPlanes :
NumberOfVideoPages :
PNPDeviceID : PCI\VEN_8086&DEV_1912&SUBSYS_D0001458&REV_06\3&11583659&0&10
PowerManagementCapabilities :
PowerManagementSupported :
ProtocolSupported :
ReservedSystemPaletteEntries :
SpecificationVersion :
Status : OK
StatusInfo :
SystemCreationClassName : Win32_ComputerSystem
SystemName : lindexi
SystemPaletteEntries :
TimeOfLastReset :
VideoArchitecture : 5
VideoMemoryType : 2
VideoMode :
VideoModeDescription : 1920 x 1080 x 4294967296 种颜色
VideoProcessor : Intel(R) HD Graphics Family
PSComputerName : lindexi
如果只需要一些必要的数据,通过 Format-List 拿到特殊的属性
Get-WmiObject Win32_VideoController | Format-List AcceleratorCapabilities,AdapterCompatibility,AdapterDACType,AdapterRAM,Availability,CapabilityDescriptions,Caption,DeviceID,DriverDate,DriverVersion,InstallDate,InstalledDisplayDrivers
运行上面代码会显示比上面少的信息
AcceleratorCapabilities :
AdapterCompatibility : Intel Corporation
AdapterDACType : Internal
AdapterRAM : 1073741824
Availability : 3
CapabilityDescriptions :
Caption : Intel(R) HD Graphics 530
DeviceID : VideoController1
DriverDate : 20181119000000.000000-000
DriverVersion : 23.20.16.4973
InstallDate :
InstalledDisplayDrivers : C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92d70c30b8effe\igdumdim64.
dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92d70c30b8effe\igd10iu
md64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92d70c30b8effe\ig
d10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_2c92d70c30b8ef
fe\igd12umd64.dll
2019-7-29-PowerShell-拿到显卡信息的更多相关文章
- PowerShell 拿到显卡信息
本文告诉大家如何在 PowerShell 通过 WMI 拿到显卡信息 在 PowerShell 可以使用下面代码拿到显卡的信息 Get-WmiObject Win32_VideoController ...
- PowerShell 使用 WMI 获取信息
在 PowerShell 可以很容易使用 WMI 拿到系统的信息,如果有关注我的网站,就会发现我写了很多通过 WMI 拿到系统的显卡,系统安装的软件等方法,本文告诉大家如果通过 PowerShell ...
- Alpha冲刺(6/10)——2019.4.29
所属课程 软件工程1916|W(福州大学) 作业要求 Alpha冲刺(6/10)--2019.4.29 团队名称 待就业六人组 1.团队信息 团队名称:待就业六人组 团队描述:同舟共济扬帆起,乘风破浪 ...
- linux下显卡信息的查看
lspci | grep -i vga 这样就可以显示机器上的显卡信息,比如 [root@localhost conf]# lspci | grep -i vga01:00.0 VGA compat ...
- windows平台下 c++获取 系统版本 网卡 内存 CPU 硬盘 显卡信息<转>
GetsysInfo.h: #ifndef _H_GETSYSINFO #define _H_GETSYSINFO #pragma once #include <afxtempl.h> c ...
- NVML查询显卡信息
前段时间做英伟达硬解得时候,显卡总是莫名挂掉,后来发现是因为显卡温度过高掉了.这几天找到CUDA中有NVML工具可以查看显卡信息,nvidia-smi也是基于这个工具包. 使用的CUDA版本为CUDA ...
- NVIDIA 显卡信息(CUDA信息的查看)
1. nvidia-smi 查看显卡信息 nvidia-smi 指的是 NVIDIA System Management Interface: 在安装完成 NVIDIA 显卡驱动之后,对于 windo ...
- 域内信息收集 powershell收集域内信息
POwershell收集域内信息 Powershell(你可以看做CMD的升级版 但是和cmd完全不一样) 原来的powershe是不能执行任何脚本的 更改执行策略 这个是一个绕过的脚本 接下来我们了 ...
- 2019-8-31-dotnet-通过-WMI-拿到显卡信息
title author date CreateTime categories dotnet 通过 WMI 拿到显卡信息 lindexi 2019-08-31 16:55:58 +0800 2019- ...
随机推荐
- Lambada. 计算和
Lambada. 计算和 import java.util.Arrays; import java.util.List; public class ListLambada { public stati ...
- mysql5.7以上版本安装
首先下载mysql5.7zip版本 https://dev.mysql.com/downloads/mysql/5.7.html#downloads 然后放在本地解压 下载5.6版本 https:// ...
- 类似淘宝五星点评 ,Jquery实现代码
<!--默认五星,根据鼠标点击判断--> <!DOCTYPE html><html lang="en"><head> <met ...
- SQLServer —— 视图
一.视图的概念 是存储在服务器端的一个查询块,是一张虚拟表. 表示一张表的部分数据或多张表的综合数据. 其结构和数据是建立在对表的查询基础上. 视图的使用,跟对普通的表的查询使用完全一样. 二.视图中 ...
- Dubbo报org.I0Itec.zkclient.exception.ZkNoNodeException异常
解决办法就是添加zkclient的jar,maven工程的话增加如下引用: <dependency> <groupId>com.github.sgroschupf< ...
- Notepad++中Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
使用Notepad++编辑python代码运行遇到了这个问题: IndentationError: unindent does not match any outer indentation leve ...
- MyEclipse2014,java文件无法编译,run as上是none applicable,不是文件本身的问题
1.配置一下JDK目录 2.window -> Preferences -> java -> Installed JREs -> Add
- 在Swift中检查API的可用性
http://www.cocoachina.com/swift/20150901/13283.html 本文由CocoaChina译者ALEX吴浩文翻译自Use Your Loaf博客 原文:Chec ...
- 2013年山东省第四届ACM大学生程序设计竞赛J题:Contest Print Server
题目描述 In ACM/ICPC on-site contests ,3 students share 1 computer,so you can print your source code ...
- BZOJ1085 luogu2324骑士精神题解
没有什么特别好的办法,只好用搜索去做 因为一次移动最多归位一个骑士 所以可以想到用IDA*,为了简化状态 我们用k,x,y,sum来表示移动了k步,空格在x,y,还用sum个没有归位的情况 然后枚举转 ...