Very often I get asked the question "How can I build my own test environment?" I get this a lot because I advocate testing all of your code in a test environment before running it in production. The problem is that many IT Pros do not know how to build one. Well, I’ve got the instructions for you.
Head on over to my Advanced Windows PowerShell Scripting training with O`Reilly (http://shop.oreilly.com/product/0636920045823.do). The “free” lessons cover how to build a test environment including the installation of Hyper-V, building virtual machines, and the creation of a domain. Yes, all of that is in the free content.