Skip to content

Instantly share code, notes, and snippets.

View michaelsmoody's full-sized avatar
🤔
Automating everything with automation...

Michael S. Moody michaelsmoody

🤔
Automating everything with automation...
View GitHub Profile
@mrreband
mrreband / apod.ps1
Last active October 11, 2023 17:43
Scripts to get the NASA Image Of the Day (iotd) and NASA Astronomy Picture of the Day (apod)
# Download and open the NASA Astronomy picture of the day (apod)
# Download to target folder $TargetFolder (relative to this script's location)
# https://apod.nasa.gov/apod/archivepix.html
param
(
[string]$TargetFolder = "images"
)
$ErrorActionPreference = "Stop"