Here’s a link for all those people who want you to “just write a vbscript…”
Getting started with Powershell
And for more advanced scripts…
Entity Framework
Entity Framework 6 Release Candidate is available… Includes a list of what’s new in this version of the framework and a link to guidance on Updating Applications to use EF6