This script will install File server resource manager, create file group and create file group, it will also create a scheduled task that updates file extensions daily.
Only Works server 2012 and later

Source Code

This script has not been checked by Spiceworks. Please understand the risks before using it.