A simple script in powershell for doing a nightly report against a database.