

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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
How to find the 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
- Related Questions & Answers
- How to find a network adapter driver version using PowerShell?
- How to install the specific version of the PowerShell module version?
- How to eject the USB device from the system using PowerShell?
- How to change the TLS version in PowerShell?
- How to install the latest PowerShell module version?
- How to detect which iOS version is running on the device?
- How to find the R version you are using?
- How to get default device sdk version in android?
- How to check if the USB device is connected to the system using PowerShell?
- How to find the version of Java using command line?
- How to detect iOS device UDID, Name, Version, Model by programmatically?
- How to find the serial number of an Android device using Kotlin?
- How to check the PowerShell version installed in local and remote systems?
- How to find the locked local user accounts using PowerShell?
- How to find the MAC address of the system using PowerShell?
Advertisements