mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-28 07:38:38 +01:00
Improved weather.ps1
This commit is contained in:
parent
2f99c52b83
commit
df9e077f2e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user