Use PowerShell to shave time off routine tasks like renaming computers. Here are some commands to try. Occasionally it may become necessary to rename a computer in an Active Directory environment.
Apple has a nice document on the ADC (thats Apple Developer Connection) that gives you a good overview of shell scripting. The Shell Scripting Primer, as it is called is available online and in PDF ...