-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script 'bails out' when multiple packages are added to the BIOS package list #1
Comments
Got same problem with HP Bios packages. Because some baseboards share the same SKU, it seems to detect multiple packages. It's maybe OK for drivers, but shouldn't bios look for specific model instead? |
same problem with HP Bios packages |
Same with any bios in fact, it doesn't check for the latest version when there's multiple |
I've check the script and I understand the problem. Problem is here:
Problem is after the select-object, the array doesn't exist anymore thus .count is null. I myself changed it to:
I'm still in the testing phase to see if that add another problem. There's also other problem at the same place that I'll post another issue |
Hello, I troubleshooting this situation about 4 hour and can verify @nodiaque issue. It's a casting error. Have made some changes, tested and works as desired. The fast solution is too change code from line 1168 until 1187 with this: `
Hope it's help you all. EDIT: I make a rull request #4 |
Writing to confirm that the amendment that @mstraessner suggested is currently working for HP systems. I have not had the chance to test this with other manufacturers. |
I had to do multiple additional changes to get it to work with Lenovo. `
` And changed this: To this:
|
I got it to work with Lenovo ThinkCentre series after applying the fixes from @HermanGB - thanks everyone |
If there are multiple BIOS packages available for a single hardware model in my site, the script fails when trying to determine which BIOS package to use. The final line in the log file is 'Unable to determine a matching BIOS package from list since an unsupported count was returned from package list, bailing out.' I'm attaching a screenshot from the log file, thanks!
The text was updated successfully, but these errors were encountered: