Merge branch 'main' of github.com:fleschutz/PowerShell

This commit is contained in:
Markus Fleschutz 2024-10-16 10:45:56 +02:00
commit 2396704564
2 changed files with 2563 additions and 2563 deletions

File diff suppressed because it is too large Load Diff

View File

@ -47,7 +47,7 @@ try {
$pending = ""
if ($IsLinux) {
if (Test-Path "/var/run/reboot-required") {
$status = "⚠️ "
$status = "⚠️"
$pending = "with pending reboot (found /var/run/reboot-required)"
}
} else {
@ -83,7 +83,7 @@ try {
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
}
if ($reason -ne "") {
$status = "⚠️ "
$status = "⚠️"
$pending = "with pending reboot ($($reason.substring(2)) in registry)"
}
}