Updated check-bios.ps1 and check-motherboard.ps1

This commit is contained in:
Markus Fleschutz
2024-10-10 20:41:36 +02:00
parent 83d8d645ee
commit 01d9659976
2 changed files with 9 additions and 11 deletions

View File

@ -4,10 +4,8 @@
.DESCRIPTION
This PowerShell script lists the motherboard details.
.EXAMPLE
PS> ./list-motherboard.ps1
Manufacturer : Gigabyte Technology Co., Ltd.
...
PS> ./check-motherboard.ps1
✅ Motherboard Calla_LC by LN
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -18,7 +16,7 @@ try {
if ($IsLinux) {
} else {
$details = Get-WmiObject -Class Win32_BaseBoard
"$($details.Product) motherboard by $($details.Manufacturer)"
" Motherboard $($details.Product) by $($details.Manufacturer)"
}
exit 0 # success
} catch {