diff --git a/Scripts/check-bios.ps1 b/Scripts/check-bios.ps1 index 66e48d93..bd8e5cd5 100755 --- a/Scripts/check-bios.ps1 +++ b/Scripts/check-bios.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries the BIOS status and prints it. .EXAMPLE PS> ./check-bios - ✅ BIOS F6 by American Megatrends Inc. (version ALASKA - 1072009, S/N NXA82EV0EBB0760) + ✅ BIOS 'F6', release ALASKA - 1072009, S/N NXA82EV0EBB0760 by American Megatrends Inc. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -24,14 +24,14 @@ try { } Write-Progress -completed "." } else { - Write-Progress "⏳ Querying BIOS..." + # Write-Progress "⏳ Querying BIOS..." $BIOS = Get-CimInstance -ClassName Win32_BIOS $Model = $BIOS.Name.Trim() $Manufacturer = $BIOS.Manufacturer.Trim() $Serial = $BIOS.SerialNumber.Trim() $Version = $BIOS.Version.Trim() - Write-Progress -completed "." - Write-Host "✅ BIOS $Model by $Manufacturer (version $Version, S/N $Serial)" + # Write-Progress -completed "." + Write-Host "✅ BIOS '$Model', release $Version, S/N $Serial by $Manufacturer" } exit 0 # success } catch {