From 83d8d645ee1c75f7d89aa79a9d63e2329ce3e62c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 10 Oct 2024 19:39:00 +0200 Subject: [PATCH] Updated check-uptime.ps1 --- scripts/check-uptime.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-uptime.ps1 b/scripts/check-uptime.ps1 index b5991fba..6d0d64fc 100755 --- a/scripts/check-uptime.ps1 +++ b/scripts/check-uptime.ps1 @@ -84,7 +84,7 @@ try { } if ($reason -ne "") { $status = "⚠️ " - $pending = "with pending reboot (registry got $($reason.substring(2)))" + $pending = "with pending reboot ($($reason.substring(2)) in registry)" } } Write-Host "$status $(hostname) is up for $(TimeSpanAsString $uptime) since $($lastBootTime.ToShortDateString()) $pending"