Update check-cpu.ps1, check-os.ps1, and check-pending-reboot.ps1

This commit is contained in:
Markus Fleschutz
2022-12-01 21:39:03 +01:00
parent 22c3068d1d
commit dd4f14f6c6
3 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@
try {
if ($IsLinux) {
"$(uname -sr)."
"$(uname -sr)"
} else {
$OS = Get-WmiObject -class Win32_OperatingSystem
$Name = $OS.Caption
@ -31,4 +31,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}