Windows Powershell in Windows 7(Ultimate) and its Use in Windows

I came across Windows PowerShell in Windows 7 and I am curious to know that is it and why is it used. It looks similar to cmd but I want to know what makes it different from cmd. Can this be used to Compile the Programs? Please respond as soon as possible.
