mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 18:20:48 +01:00
Merge branch 'main' of github.com:fleschutz/PowerShell
This commit is contained in:
commit
2396704564
File diff suppressed because it is too large
Load Diff
@ -47,7 +47,7 @@ try {
|
|||||||
$pending = ""
|
$pending = ""
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
if (Test-Path "/var/run/reboot-required") {
|
if (Test-Path "/var/run/reboot-required") {
|
||||||
$status = "⚠️ "
|
$status = "⚠️"
|
||||||
$pending = "with pending reboot (found /var/run/reboot-required)"
|
$pending = "with pending reboot (found /var/run/reboot-required)"
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -83,7 +83,7 @@ try {
|
|||||||
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
||||||
}
|
}
|
||||||
if ($reason -ne "") {
|
if ($reason -ne "") {
|
||||||
$status = "⚠️ "
|
$status = "⚠️"
|
||||||
$pending = "with pending reboot ($($reason.substring(2)) in registry)"
|
$pending = "with pending reboot ($($reason.substring(2)) in registry)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user