maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
393 stars 119 forks source link

Invoke-CMApplyDriverPackage.ps1 #291

Closed Westlunds closed 2 years ago

Westlunds commented 2 years ago

The available Invoke-CMApplyDriverPackage.ps1 doesn't support -TargetOSVersion newer than Windows 10 21H1. Is a newer one available somewhere for Windows 10 and Windows 11 21H2?

BR

/Fredrik W

jmelgares commented 2 years ago

I'm also trying to find an updated Invoke-CMApplyDriverPackage.ps1 that supports Windows 11 21H2.

Warpchaser commented 2 years ago

Yea... I needed it as well, could not find it :/ so much for the 7.0+ update adding support ;)

The quick fix is just to add it yourself. In the Invoke-CMApplyDriverPackage.ps1 script go to the Get-OSBuild function section line 959 Just add another OS release translation like:

                               "19044" {
                $OSVersion = '21H2'
                               }

This works for W10, I have not tried with W11 yet as I've no clients who runs that beta product yet. After that just update your package in the SCCM console and you're good to go. Just remember to have the driver packages with a 21H2 in the name ready as well, or it will just not fetch anything.

maurice-daly commented 2 years ago

The runtime script issues should be logged against the MSEndpointMgr Github, but good news, Windows 11 support is coming.