mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 07:53:21 +01:00
Updated check-bios.ps1
This commit is contained in:
parent
2396704564
commit
dd7054cf48
@ -31,7 +31,7 @@ try {
|
|||||||
}
|
}
|
||||||
if ($model -eq "To be filled by O.E.M.") { $model = "N/A" }
|
if ($model -eq "To be filled by O.E.M.") { $model = "N/A" }
|
||||||
if ($version -eq "To be filled by O.E.M.") { $version = "N/A" }
|
if ($version -eq "To be filled by O.E.M.") { $version = "N/A" }
|
||||||
if ($releaseDate -ne "") { $releaseDate = " of $releaseDate" }
|
if ("$releaseDate" -ne "") { $releaseDate = " of $releaseDate" }
|
||||||
if ("$serial" -eq "") { $serial = "N/A" }
|
if ("$serial" -eq "") { $serial = "N/A" }
|
||||||
if ($serial -eq "To be filled by O.E.M.") { $serial = "N/A" }
|
if ($serial -eq "To be filled by O.E.M.") { $serial = "N/A" }
|
||||||
Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer"
|
Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer"
|
||||||
|
Loading…
Reference in New Issue
Block a user