Skip to content
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

Lenovo BIOS part is looking in wrong variable for description Invoke-CMDownloadBIOSPackage.ps1 #9

Open
Jabbaxx opened this issue Jun 7, 2021 · 0 comments

Comments

@Jabbaxx
Copy link

Jabbaxx commented Jun 7, 2021

Hello,

in the Lenovo part there is a small bug in Invoke-CMDownloadBIOSPackage.ps1
It makes the script "crash" and exit with code 1.
In this line :
Compare-BIOSVersion -AvailableBIOSVersion $PackageList[0].Version -AvailableBIOSReleaseDate $(($PackageList[0].PackageDescription).Split(":")[2].Trimend(")")) -ComputerManufacturer $ComputerManufacturer

PackageDescription must be changed to Description:

Compare-BIOSVersion -AvailableBIOSVersion $PackageList[0].Version -AvailableBIOSReleaseDate $(($PackageList[0].Description).Split(":")[2].Trimend(")")) -ComputerManufacturer $ComputerManufacturer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant