
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Find Device Driver Version Using PowerShell
To find the device driver version using PowerShell, we need to use the class win32_PnpSignedDriver of the WMI object. For example,
Example
Get-WmiObject win32_PnpSignedDriver
Or if you are using PowerShell core (PowerShell 6.0 or later), you can use the CIM Instance command. For example,
Get-CimInstance win32_PnpSignedDriver
To filter out the Drivers against their versions, use the below command to filter.
Example
gwmi win32_PnpSignedDriver | Select Description, DriverVersion
Output
ACPI x64-based PC 6.2.9200.16384 UMBus Root Bus Enumerator 6.2.9200.16384 WAN Miniport (IPv6) 6.2.9200.16384 Composite Bus Enumerator 6.2.9200.16384 WAN Miniport (IKEv2) 6.2.9200.16384 WAN Miniport (SSTP) 6.2.9200.16384 WAN Miniport (IP) 6.2.9200.16384
To search for the Specific driver with its name,
gwmi win32_PnpSignedDriver | where{$_.Description -eq "WAN Miniport (IPv6)"} | Select Description, DriverVersion
To search for the specific driver using wildcard character,
gwmi win32_PnpSignedDriver | where{$_.Description -like "Vmware*"} | Select Description, DriverVersion
To get the list of drivers on the remote computer use -ComputerName parameter in the WMI or CIM instance command as shown below.
gwmi win32_PnpSignedDriver -ComputerName Computer1
Advertisements