Lab Summary

Just like its predecessor, Virtual Server 2005, Windows Hyper-V can be fully scripted in order to perform any operation you might need. Windows Hyper-V can be automated by using WMI classes from any managed language, VBScript, or PowerShell.

In this lab we used the PowerShell Management Library to automate all of our tasks. The final outcome was easier to write and was more comprehensible than if we had use WMI and PowerShell. The different commands used in this lab should give you a broader idea on how to accomplish any VM related task in the future. Remember to always check the documentation and to visit the PowerShell Management Library to check for any updates.