Any method you want for scripting. You could use PHP and make a ssh connection to the WLC or you could simply copy paste all the commands into a notepad doc and then copy paste to the WLC. A bash script could be used as well.
The shell script isn't the hard part, google will help you there. The harder part is getting the data out of the WLC.