Virtual Machine Manager 2008 is based on Powershell. Anything you do in the GUI can be saved as a script. Store the script in the library and you can tweak/reuse it.
This gives you an overview of VMM and Powershell in action to manage virtual machines.