mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-27 09:08:58 +01:00
Improve list-hourly-weather.ps1
This commit is contained in:
parent
27899b0a2c
commit
cb6679392b
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/pwsh
|
||||
#!/usr/bin/pwsh
|
||||
<#
|
||||
.SYNTAX list-hourly-weather.ps1 [<location>]
|
||||
.DESCRIPTION lists the hourly weather today
|
||||
@ -14,7 +14,7 @@ try {
|
||||
$Area = $Weather.nearest_area.areaName.value
|
||||
$Region = $Weather.nearest_area.region.value
|
||||
$Country = $Weather.nearest_area.country.value
|
||||
"Hourly weather today at $Area, $Region ($Country)"
|
||||
"🕗 Hourly weather today at $Area ($Region, $Country)"
|
||||
|
||||
[int]$Hour = 0
|
||||
foreach ($Hourly in $Weather.weather.hourly) {
|
||||
|
Loading…
Reference in New Issue
Block a user