Updated the Markdown manuals

This commit is contained in:
Markus Fleschutz
2024-05-19 10:25:56 +02:00
parent c24030c909
commit 439fbf5bfa
621 changed files with 2430 additions and 1289 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 system reboot
✅ No pending reboot
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -79,11 +79,11 @@ try {
$Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
}
if ($Reason -ne "") {
Write-Host "⚠️ Pending reboot (registry contains $($Reason.substring(2)))"
Write-Host "⚠️ Pending reboot (registry got $($Reason.substring(2)))"
}
}
if ($Reason -eq "") {
Write-Host "✅ No pending system reboot"
Write-Host "✅ No pending reboot"
}
exit 0 # success
} catch {
@ -92,4 +92,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 03/27/2024 17:36:24)*
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 05/19/2024 10:25:18)*