mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-07 16:06:50 +02:00
Improve tell-uptime.ps1
This commit is contained in:
@ -20,7 +20,7 @@ try {
|
||||
$Uptime = New-TimeSpan -Start $BootTime.TimeCreated.Date -End $TimeNow
|
||||
}
|
||||
|
||||
$Answer = "$($Uptime.Days) days, $($Uptime.Hours) hours, $($Uptime.Minutes) minutes."
|
||||
$Answer = "I'm up for $($Uptime.Days) days, $($Uptime.Hours) hours, $($Uptime.Minutes) minutes."
|
||||
|
||||
write-output "$Answer"
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Answer"
|
||||
|
Reference in New Issue
Block a user