I've working alot over the past few months on Virtual Server 2005. One of the great uses of Virtual Server is the ability to quickly stand up a development and test enviroment. To facilitate that, I created an application called Rapid Test that automates provisioning and mangement of virtual machines as well as automating software delivery.
This month's MSDN Magazine has an article that details using the Virtual Server API to contruct the Rapid Test application. The name of the article is “Virtual Server 2005 - Program Customized Testing Environments Without Trashing Your Machine”. It details the design and development of the application and has the full source code. It should serve as a good reference implementation for doing similar things in Virtual Server 2005.
Please let me know what you think or have ideas on how to make it better. I promise to post revisions going forward.