Update tell-uptime.ps1

This commit is contained in:
Markus Fleschutz 2021-11-24 15:05:11 +01:00
parent 2069067870
commit bd9c1525f6

View File

@ -20,7 +20,7 @@ try {
$Uptime = New-TimeSpan -Start $BootTime.TimeCreated.Date -End $TimeNow
}
$Answer = "I'm up for $($Uptime.Days) days, $($Uptime.Hours) hours, $($Uptime.Minutes) minutes."
$Answer = "I'm up for $($Uptime.Days) days, $($Uptime.Hours) hours and $($Uptime.Minutes) minutes."
write-output "$Answer"
& "$PSScriptRoot/speak-english.ps1" "$Answer"