Skip to content

weather

Lists the current weather forecast

#Requires -Version 5.1

param([string]$GeoLocation = "")

try {
	(Invoke-WebRequest http://wttr.in/$GeoLocation -userAgent "curl" -useBasicParsing).Content
	exit 0
} catch {
throw
}

Specifies the geographic location to use

An interactive directory of PowerShell scripts.