mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 02:01:01 +01:00
Improve tell-uptime.ps1
This commit is contained in:
parent
aa2416ec1d
commit
2069067870
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user