Replaced curl by Invoke-WebRequest

This commit is contained in:
Markus Fleschutz 2020-06-23 17:02:00 +00:00
parent 54879a3143
commit a21d3cdfdc
2 changed files with 2 additions and 2 deletions

View File

@ -6,5 +6,5 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
(curl wttr.in/Moon -UserAgent "curl" ).Content
(Invoke-WebRequest http://wttr.in/Moon -UserAgent "curl" ).Content
exit 0

View File

@ -6,5 +6,5 @@
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
(curl de.wttr.in/Berlin -UserAgent "curl" ).Content
(Invoke-WebRequest http://wttr.in/Berlin -UserAgent "curl" ).Content
exit 0