Windows Powershell
"The new Windows Powershell not only provides flow of control, but the strong typing of its variables and expressions enables you to manipulate them and create scripts that leverage the .NET Framework. "
Check out
A Return to Command-Line Control with Windows Powershell http://www.devx.com/dotnet/Article/32230/0/page/1
But I still prefer using Perl ;)