That make it all worthwhile

Pic unrelated

So I’m in a major incident today which has required me to run a SQL query once per hour and report data returned until the data has cleared. Since 2:00 I’ve been doing this manually. Two hours ago my wife went to bed and I said “it’d be nice if I could go to bed too and have these reports auto-run and email”. 1.5 hours ago I started work on a PowerShell function to do just that. 45 minutes ago it was completed and put in production. Now I can cool down and go to bed.

If all goes to plan I will turn my hard-codes into variables and get this function runnable for all package deployments, not just this MI.