mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 16:33:20 +01:00
Update check-bios.ps1
This commit is contained in:
parent
17d4839150
commit
700c81d09a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user