mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-15 10:28:55 +01:00
Update list-weather.ps1
This commit is contained in:
parent
0ac70b0858
commit
9189305c29
@ -21,6 +21,7 @@ param([string]$Location = "") # empty means determine automatically
|
|||||||
function GetDescription { param([string]$Text)
|
function GetDescription { param([string]$Text)
|
||||||
switch($Text) {
|
switch($Text) {
|
||||||
"Blizzard" { return "❄️ blizzard ⚠️" }
|
"Blizzard" { return "❄️ blizzard ⚠️" }
|
||||||
|
"Blowing snow" { return "❄️ blowing snow ⚠️" }
|
||||||
"Clear" { return "🌙 clear" }
|
"Clear" { return "🌙 clear" }
|
||||||
"Cloudy" { return "☁️ cloudy" }
|
"Cloudy" { return "☁️ cloudy" }
|
||||||
"Fog" { return "🌫 fog" }
|
"Fog" { return "🌫 fog" }
|
||||||
@ -47,6 +48,7 @@ function GetDescription { param([string]$Text)
|
|||||||
"Patchy light snow" { return "❄️ patchy light snow" }
|
"Patchy light snow" { return "❄️ patchy light snow" }
|
||||||
"Patchy moderate snow" { return "❄️ patchy moderate snow" }
|
"Patchy moderate snow" { return "❄️ patchy moderate snow" }
|
||||||
"Patchy rain possible" { return "💧 patchy rain possible" }
|
"Patchy rain possible" { return "💧 patchy rain possible" }
|
||||||
|
"Patchy snow possible" { return "❄️ patchy snow possible" }
|
||||||
"Sunny" { return "☀️ sunny" }
|
"Sunny" { return "☀️ sunny" }
|
||||||
"Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" }
|
"Thundery outbreaks possible" { return "⚡️thundery outbreaks possible" }
|
||||||
default { return "$Text" }
|
default { return "$Text" }
|
||||||
|
Loading…
Reference in New Issue
Block a user