diff --git a/Scripts/weather.ps1 b/Scripts/weather.ps1 index c77bc269..7ab5b319 100755 --- a/Scripts/weather.ps1 +++ b/Scripts/weather.ps1 @@ -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