mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 06:27:16 +02:00
Update check-battery.ps1, check-bios.ps1, check-gpu.ps1, and
check-smart-devices.ps1
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user