Update check-battery.ps1, check-bios.ps1, check-gpu.ps1, and

check-smart-devices.ps1
This commit is contained in:
Markus Fleschutz
2022-12-19 17:53:25 +01:00
parent 46186820ca
commit 86463af566
4 changed files with 10 additions and 10 deletions

View File

@ -26,7 +26,7 @@ try {
}
switch ($Details.PowerLineStatus) {
"Online" { $PowerStatus = "plugged in to AC power" }
"Offline" { $PowerStatus = "disconnected from AC power" }
"Offline" { $PowerStatus = "AC power unplugged" }
}
"$BatteryStatus, $PowerStatus"
}