MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
632 stars 281 forks source link

When you have two (or more) "identical" packages of the same SKU and manufacturer, but different models only the first package is evaluated. #102

Open Fush83 opened 5 years ago

Fush83 commented 5 years ago

https://github.com/SCConfigMgr/ConfigMgr/blob/3308360ebc949e296110d63e98a31481f08cdadb/Operating%20System%20Deployment/Drivers/Invoke-CMApplyDriverPackage.ps1#L877

The script does not go and check the other packages for a match.

For example if I have the following two packages that have identical SKU BIOS Update - Hewlett-Packard EliteBook 840 G5 Notebook PC BIOS Update - Hewlett-Packard EliteBook 850 G5 Notebook PC

The script only tries to match the first package (in reverse order) with the model name, but stops.

NickolajA commented 5 years ago

I'm not sure what you mean, cause you're referencing the Invoke-CMApplyDriverPackage.ps1 script and talking about BIOS Update packages. Could you be a bit more specific?