How a simple settings tweak ended up with a lesson on writing and automating PowerShell scripts.