Skip to content

Get installed drivers and compare against list of drivers before running pnputil to install potentially lower version #1

@hpst3r

Description

@hpst3r

Currently, there is no check for driver versions/to see if a driver is already installed on the system. This means that systems with newer drivers installed may be affected unexpectedly, and causes the script to errantly log that drivers were installed when, effectively, no changes were made (calling pnputil with the same version of driver that is already installed).

It would be nice to add a Get-WindowsDriver call (https://learn.microsoft.com/en-us/powershell/module/dism/get-windowsdriver?view=windowsserver2025-ps) and compare the result of -All drivers currently installed in the -Online Windows image so unnecessary actions are not taken.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions