Our experience includes using batch files (the old DOS interface), registry scripts, Perl, Python and Visual Basic scripts to automate system administration or data syncronization tasks.