Updated the manuals

This commit is contained in:
Markus Fleschutz
2025-05-12 22:04:02 +02:00
parent b3cdf19f4a
commit 09eb3d1808
651 changed files with 8362 additions and 1405 deletions

View File

@@ -24,7 +24,7 @@ Script Content
This PowerShell script queries pending operating system reboots and prints it.
.EXAMPLE
./check-pending-reboot.ps1
✅ No pending reboot
✅ No pending reboot.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@@ -41,7 +41,7 @@ function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNull
}
try {
$reply = "✅ No pending reboot"
[string]$reply = "✅ No pending reboot."
if ($IsLinux) {
if (Test-Path "/var/run/reboot-required") {
$reply = "⚠️ Pending reboot (found: /var/run/reboot-required)"
@@ -79,7 +79,7 @@ try {
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
}
if ($reason -ne "") {
$reply = "⚠️ Pending reboot (registry got $($reason.substring(2)))"
$reply = "⚠️ Pending reboot (found: $($reason.substring(2)) in registry)"
}
}
Write-Host $reply
@@ -90,4 +90,4 @@ try {
}
```
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*