mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-19 03:01:15 +01:00
Add list-weather.ps1
This commit is contained in:
parent
dae6f7ab3a
commit
7cd93cfc0a
@ -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" }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user