Update check-bios.ps1

This commit is contained in:
Markus Fleschutz 2022-12-28 12:33:51 +01:00
parent 17d4839150
commit 700c81d09a

View File

@ -19,7 +19,7 @@ try {
$Manufacturer = (sudo dmidecode -s system-manufacturer)
$Version = (sudo dmidecode -s bios-version)
$RelDate = (sudo dmidecode -s bios-release-date)
"$Model BIOS by $Manufacturer (version $Version as of $RelDate)"
"$Model BIOS by $Manufacturer ($Version release of $RelDate)"
} else {
$BIOS = Get-CimInstance -ClassName Win32_BIOS
$Model = $BIOS.Name.Trim()