Update Invoke-CMDownloadBIOSPackage: Script 'bails out' when multiple packages are added to the BIOS package list - #4
Conversation
Troubleshooting: device has some UEFI updates, but none is selected instead of the last update. It's a casting error at selection by all lines with: $PackageList = $PackageList | Sort-Object -Property SourceDate -Descending | Select-Object -First 1 Solution: Create an array object and not a PSCustom object, so that the method count is present.
|
nice! |
|
Writing to confirm this to be working on HP systems. Will verify with Dell's later on, but we have no Microsoft or Lenovo computers in our environment. |
|
Doesn't seem to fix Lenovo. Powershell transcription logs show it failing on: |
|
Writing back to confirm that no issues on Dell either. Can't speak to the Lenovo problem JEngel05 was having, and we're not currently using Surfaces. |
|
I was also having problems with Lenovo computers, even with this fix.
Should be changed to: |
|
I think this was fixed already |
Troubleshooting: device has some UEFI updates, but none is selected instead of the last update. It's a casting error at selection by all lines with: $PackageList = $PackageList | Sort-Object -Property SourceDate -Descending | Select-Object -First 1
Solution: Create an array object and not a PSCustom object, so that the method count is present.