mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-14 06:48:46 +02:00
Updated some check-*.ps1 scripts
This commit is contained in:
@ -30,7 +30,7 @@ try {
|
||||
if ($Remaining -lt 30) { $Status = "⚠️" }
|
||||
$Battery = "$Percent% battery life, $Remaining min. left"
|
||||
}
|
||||
"$Status $Power, $Battery"
|
||||
Write-Host "$Status $Power, $Battery"
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
|
Reference in New Issue
Block a user