mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-04 15:44:44 +02:00
Add list-weather.ps1
This commit is contained in:
parent
dae6f7ab3a
commit
7cd93cfc0a
@ -1,6 +1,6 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Lists the hourly weather report
|
Lists the weather report
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script lists the hourly weather report.
|
This PowerShell script lists the hourly weather report.
|
||||||
.PARAMETER Location
|
.PARAMETER Location
|
||||||
@ -22,7 +22,8 @@ function Describe { param([string]$Desc)
|
|||||||
"Light drizzle" { return "💧light drizzle" }
|
"Light drizzle" { return "💧light drizzle" }
|
||||||
"Light rain shower" { return "💧light rain " }
|
"Light rain shower" { return "💧light rain " }
|
||||||
"Mist" { return "🌫 misty " }
|
"Mist" { return "🌫 misty " }
|
||||||
"Partly cloudy" { return "☁️bit cloudy " }
|
"Overcast" { return "☁️overcast " }
|
||||||
|
"Partly cloudy" { return "☁️partly cloudy" }
|
||||||
"Sunny" { return "☀️sunny " }
|
"Sunny" { return "☀️sunny " }
|
||||||
default { return "$Desc" }
|
default { return "$Desc" }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user