I have been a developer and an admin for many years now and I have used many languages. When performing admin tasks, I would have typically reached for PERL. PERL is fantastic for admin scripting and is hugely popular for this application. Lately however I have been using PHP. My hard core developer friends will surely cringe at the idea, but I have to say that it has been great. I will not argue whether it is better or worse than any other scripting language… I am just saying that it has done what I needed it to and allowed me to re-use alot of my existing code and most recently used skills.