mgajda83 / PSWindowsUpdate

This module contain cmdlets to manage Windows Update Client.
MIT License
243 stars 23 forks source link

Get Driver updates from Microsoft Update #15

Open jpavonmCBRE opened 4 months ago

jpavonmCBRE commented 4 months ago

Before all, excellent job with this script @mgajda83 .

I've noticed there are some new driver releases on Microsoft Update Catalog (https://www.catalog.update.microsoft.com/Home.aspx) for my wireless adapter (Intel AX211 currently with driver release 22.40) but the script is not showing any of them. Is this supported?

Looking MS Update Catalog by searching for the Hardware Id of my wireless adapter I see lot of new drivers:

PS C:\windows\system32> Get-PnpDeviceProperty -InstanceId "PCI\VEN_8086&DEV_02F0&SUBSYS_00708086&REV_00\3&11583659&0&A3" | Format-Table -AutoSize

InstanceId                                                   KeyName                                        Type       Data
----------                                                   -------                                        ----       ----
PCI\VEN_8086&DEV_02F0&SUBSYS_00708086&REV_00\3&11583659&0&A3 DEVPKEY_Device_DeviceDesc                      String     Intel(R) Wi-Fi 6 AX201 160MHz
PCI\VEN_8086&DEV_02F0&SUBSYS_00708086&REV_00\3&11583659&0&A3 DEVPKEY_Device_HardwareIds                     StringList {**PCI\VEN_8086&DEV_02F0&SUBSYS_00708086**&REV_00, PCI\VEN_8086&DEV_02F0&SUBSYS_00708086, PCI\VEN_8086&DEV_02F0&CC_028000, PCI\VEN_8086&DEV_02F0&CC_0280}

And now entering the HiD in MS Update Catalog I get this:

image

image

image

Even in the case the will update look for the vendor (Lenovo in my case), adding "lenovo" to the search field shows only them. Which criterias use this PS script to search for updated drivers on MU?

image

image

nkasco commented 2 weeks ago

Curious if this is still occurring for you with these specific entries? I've noticed that sometimes drivers get submitted as Optional initially, and then eventually move over to Automatic. If true, your query might need adjustment to ensure you are looking for both.