From e2f7de649336f41c7a4b74a658de6ee4d57efabd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 3 Jan 2023 10:56:05 +0100 Subject: [PATCH] Update check-bios.ps1 --- Scripts/check-bios.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/check-bios.ps1 b/Scripts/check-bios.ps1 index 9024b7d9..097f2124 100644 --- a/Scripts/check-bios.ps1 +++ b/Scripts/check-bios.ps1 @@ -20,7 +20,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 release of $RelDate)" + Write-Host "✅ $Model BIOS by $Manufacturer ($Version release of $RelDate)" } } else { $BIOS = Get-CimInstance -ClassName Win32_BIOS @@ -28,7 +28,7 @@ try { $Manufacturer = $BIOS.Manufacturer.Trim() $Serial = $BIOS.SerialNumber.Trim() $Version = $BIOS.Version.Trim() - "✅ $Model BIOS by $Manufacturer (S/N $Serial, version $Version)" + Write-Host "✅ $Model BIOS by $Manufacturer (S/N $Serial, version $Version)" } Write-Progress -Completed " " exit 0 # success