Using PowerShell to Save Time

Recently got a request to produce a report everyday that would be used for supporting a process. The report is only needed for a short time while we add more features. A change request is already underway, but our release cycle is long enough to require a daily task of creating a report.

I wanted a quick automated report that would give me the data I need, this way I wouldn’t be manually executing a query every day of the week.  The solution was a quick PowerShell script that exports the data to a CSV file, set up as a scheduled task.  I imported the SQL from a file in this case because the query is rather ugly..

Its a quick and simple solution, and saves 20-30 minutes a day, and most importantly, it only took 1/2 hour to implement. Since the release is at least two weeks away, I’ve saved myself at least 4 1/2 hours for other things.