I automated Windows and SQL Server installations / configurations using Powershell. I initially started with Ruby but eventually switched over to Powershell due to all of the things like being able to use .NET objects from within Powershell, etc.
If you work with Windows, this is a really awesome tool.