If you're new to scripting (or programming in general), I've come to believe that Python is the best starting point. This tutorial from Udemy is a good intro, and pairs well with the [Learning Python Bundle](https://mijingo.com/products/bundles/learning-python-bundle/) from Mijingo.