Improved weather.ps1

This commit is contained in:
Markus Fleschutz 2020-07-21 12:20:09 +02:00
parent 2f99c52b83
commit df9e077f2e

View File

@ -6,5 +6,6 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
(Invoke-WebRequest http://wttr.in/Berlin -UserAgent "curl" ).Content
$GeoLocation="" # empty means determine automatically
(Invoke-WebRequest http://wttr.in/$GeoLocation -UserAgent "curl" ).Content
exit 0