Add list-weather.ps1

This commit is contained in:
Markus Fleschutz 2022-11-10 13:07:47 +01:00
parent dae6f7ab3a
commit 7cd93cfc0a

View File

@ -1,6 +1,6 @@
<#
.SYNOPSIS
Lists the hourly weather report
Lists the weather report
.DESCRIPTION
This PowerShell script lists the hourly weather report.
.PARAMETER Location
@ -22,7 +22,8 @@ function Describe { param([string]$Desc)
"Light drizzle" { return "💧light drizzle" }
"Light rain shower" { return "💧light rain " }
"Mist" { return "🌫 misty " }
"Partly cloudy" { return "bit cloudy " }
"Overcast" { return "overcast " }
"Partly cloudy" { return "partly cloudy" }
"Sunny" { return "sunny " }
default { return "$Desc" }
}