Update check-bios.ps1 and install-updates.ps1

This commit is contained in:
Markus Fleschutz 2022-11-18 19:18:42 +01:00
parent 2b58305a23
commit baa459d26a
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ try {
$Model = $BIOS.Name
$SerialNumber = $BIOS.SerialNumber
$Version = $BIOS.Version
"BIOS $Manufacturer $($Model): S/N $SerialNumber, version $Version"
"$Manufacturer $($Model) BIOS: S/N $SerialNumber, version $Version"
}
exit 0 # success
} catch {

View File

@ -34,7 +34,7 @@ try {
& winget upgrade --all
}
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ installed updates in $Elapsed sec"
"✅ updates installed in $Elapsed sec."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"