MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
628 stars 282 forks source link

Download Bios Package - HP - Manufacturer missmatch #275

Open nodiaque opened 3 years ago

nodiaque commented 3 years ago

Hello,

With version 6.4.9 of Driver Automation Tool, the script now create all HP driver/bios with manufacturer "HP" instead of Hewlett-Packard". Problem is, Invoke-CMDownloadBIOSPackage wasn't updated. Thus, it still try to match "Hewlett-Packard" instead of "HP". It should match both to have legacy support.

Thanks

duminduweera commented 3 years ago

I added if($Package.PackageManufacturer -eq "HP"){$Package.PackageManufacturer = "Hewlett-Packard"} to the Invoke-CMDownloadBIOSPackage.ps1 as below image

EskimoRuler commented 3 years ago

I added if($Package.PackageManufacturer -eq "HP"){$Package.PackageManufacturer = "Hewlett-Packard"} to the Invoke-CMDownloadBIOSPackage.ps1 as below image

Was about to start looking into the script to do this but you just made it easier. Thank you for this! Worked perfectly for me.

nodiaque commented 3 years ago

It should be the opposite in fact. DAT download package as HP manufacturer now. Hewlett-packard are the old package. What it need is to match to both, not just one. That mean that in the driver match phase, if it's HP or Hewlett-packard as manufacturer, it must match both package form.