Added moon.ps1 and weather.ps1

This commit is contained in:
Markus Fleschutz 2020-06-23 16:58:14 +02:00
parent 8ab103677b
commit e4224a91d9
2 changed files with 20 additions and 0 deletions

10
Scripts/moon.ps1 Normal file
View File

@ -0,0 +1,10 @@
#!/snap/bin/powershell
#
# Syntax: moon
# Description: prints the current moon phase
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
(curl wttr.in/Moon -UserAgent "curl" ).Content
exit 0

10
Scripts/weather.ps1 Normal file
View File

@ -0,0 +1,10 @@
#!/snap/bin/powershell
#
# Syntax: weather
# Description: prints the current weather forecast
# Author: Markus Fleschutz
# Source: github.com/fleschutz/PowerShell
# License: CC0
#
(curl de.wttr.in/Berlin -UserAgent "curl" ).Content
exit 0