Check out the TechEd video Windows Server 2008 Hyper-V: Scripting & Programmatic Management for Fun & Profit (VBS & PowerShell) by John Kelbley, and Alexander Lash.
Some of John's example script are newly posed in the Official Scripting Guys Forum!, for example:
Thanks to John for sharing these.
PingBack from http://mstechnews.info/2008/10/hyper-v-how-to-script-vm-functions/