SQL can be tough to manage, even with all of the tools available to you. Sometimes, you have to get your hands dirty and write up your own scripts, or even pull from scripts made by previous DBAs. (You can actually find some of those here: https://community.spiceworks.com/scripts)
So, if you use scripts often, what are some of the actions that you always use scripts for? Or, if you're not a master script writer, what do you always wish you had a script for?