MASIGNCLEAN104

How to get Installed Driver list and details using Windows PowerShell

iklan banner

Device Drivers are the most vital constituent behind the working of a reckoner equally they helps to crusade the system. Although, yous tin give the axe install, withdraw or update drivers using Devices Manager, this tool doesn’t gives yous all the listing in addition to technical details almost the installed drivers on your Windows Image.

For getting the consummate description of installed drivers, nosotros tin give the axe operate Windows PowerShell cmdlets. Get-WindowsDriver is such a PowerShell cmdlet which outputs the basic origin data of drivers; for both third-party drivers in addition to default installed drivers; inwards dissimilar scenarios.

In this article, we’ll hash out how yous tin give the axe operate this cmdlet to extract data almost drivers on your Windows 10 / 8.1.

Get Installed Driver List using PowerShell

1. Press Windows Key + Q, type Windows PowerShell inwards the search box. From the results, correct click on Windows PowerShell in addition to select Run equally administrator. If you’re prompted for user trouble concern human relationship password, render that.

Device Drivers are the most vital constituent behind the working of a reckoner equally they helps How to teach Installed Driver listing in addition to details using Windows PowerShell

2. Next, inwards the Windows PowerShell window, yous tin give the axe type this cmdlet, afterward making selection almost parameters, in addition to hitting Enter key. The full general cmdlet goes similar this:

Get-WindowsDriver -Online [-All] [-Driver <String> ] [-LogLevel <LogLevel> {Errors | Warnings | WarningsInfo} ] [-LogPath <String> ] [-ScratchDirectory <String> ] [-SystemDrive <String> ] [-WindowsDirectory <String> ] [ <CommonParameters>]

Device Drivers are the most vital constituent behind the working of a reckoner equally they helps How to teach Installed Driver listing in addition to details using Windows PowerShell

Here is how yous tin give the axe vary the parameters (shown inwards [ ]) equally per your requirement:

-Online : Specifies that the activity is to survive taken on the operating arrangement that is currently running on the local computer.

-All : Include it to display data almost default drivers. If yous create non specify this parameter, alone third-party drivers in addition to listed.

For example, PS C:\> Get-WindowsDriver –Online -All

-Driver <string> : Specifies the .inf file or folder containing the .inf files of the drivers yous desire detailed data about. When yous specify a folder, .inf files that are non valid driver packages are ignored.

For example,  PS C:\> Get-WindowsDriver –Path "c:\offline" –Driver "OEM1.inf"

-LogLevel<LogLevel> : Specifies the maximum output degree shown inwards the logs. The default log degree is 3. The accepted values are equally follows:

1 = Errors only

2 = Errors in addition to warnings

3 = Errors, warnings, in addition to information

4 = All of the data listed previously, summation debug output

For example,  PS C:\> Get-WindowsDriver –Path "c:\offline" –LogLevel "1"

-LogPath<String> : Specifies the total path in addition to file cite to log to. If non set, the default is %WINDIR%\Logs\Dism\dism.log.

For example, PS C:\> Get-WindowsDriver –Path "c:\offline" –LogPath "C:\DriversInfo"

-Path<String> : You tin give the axe alteration this parameter to specify the total path to the origin directory of the offline Windows picture on which drivers are loaded.

For example, To teach gets detailed data almost the Usb.inf driver inwards a mounted Windows image, operate this command:

PS C:\> Get-WindowsDriver –Path "c:\offline" –Driver "c:\drivers\Usb\Usb.inf"

-ScratchDirectory<String> : This parameter states a temporary directory that volition survive used when extracting files for operate during servicing. The directory must be locally. If non specified, the Windows\%Temp% directory volition survive used, amongst a subdirectory cite of a randomly generated hexadecimal value for each run of DISM. Items inwards the scratch directory are deleted afterward each operation. 

For example, PS C:\> Get-WindowsDriver –Online -All -ScratchDirectory "C:\Temp"

-SystemDrive<String> : This is necessary parameter to locate BootMgr files, when the these files are located on a sectionalisation other than the i that yous are running the ascendance from.

For example, to locate BootMgr files on C: Drive, when you’re running PowerShell ascendance on D: crusade operate this cmdlet:

PS C:\> Get-WindowsDriver –Online -All -SystemDrive "C:"

In this way, yous tin give the axe teach detailed information almost drivers of your system, inwards diverse scenarios. Hope yous discovery the guide useful!

Now Read: How to teach a listing of all Device Drivers using Command Prompt.

This postal service volition present yous how to Export in addition to Backup Device Drivers inwards Windows 10 using PowerShell


Source: https://www.thewindowsclub.com/
Share This :