A side note about powershell for the curious:

Powershell is commonly used for scripting tasks on Windows. 

Dr. Tobias Weltner's book Mastering PowerShell is easily found and freely available online.