Some Dell models with some BIOS versions have trailing spaces at the end of the model name. Invoke-CMDownloadBIOSPackage.ps1 function Compare-BIOSVersion change:
$ComputerModel = Get-WmiObject -Class Win32_ComputerSystem | Select-Object -ExpandProperty Model
Some Dell models with some BIOS versions have trailing spaces at the end of the model name. Invoke-CMDownloadBIOSPackage.ps1 function Compare-BIOSVersion change:
$ComputerModel = Get-WmiObject -Class Win32_ComputerSystem | Select-Object -ExpandProperty Model
to
$ComputerModel = (Get-WmiObject -Class Win32_ComputerSystem | Select-Object -ExpandProperty Model).Trim()