I would like to export the data from a query at the end of every month. I have thought of making a powershell script to do this and having it set as a scheduled task. Are there any better ways to achieve this? I would prefer the task to be run automagicly.