New to working with Windows PowerShell? You might want to take a look at the open source script editor available from PowerGUI.org. The tool is free to download and there are a number of power packs available to automate many common tasks. One recent power pack provides Hyper-V management capabilities and will save you a lot of time when working with virtualization. Happy scripting!