1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-06 23:50:09 +02:00

Update tell-uptime.ps1

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

@ -20,7 +20,7 @@ try {
$Uptime = New-TimeSpan -Start $BootTime.TimeCreated.Date -End $TimeNow $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" write-output "$Answer"
& "$PSScriptRoot/speak-english.ps1" "$Answer" & "$PSScriptRoot/speak-english.ps1" "$Answer"