O'Reilly logo

Windows Server® 2008 Hyper-V™ Resource Kit by Janique Carbone Robert Larson and Microsoft Windows Virtualization Team

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Outlining the WMI API

Hyper-V provides an extensive and powerful WMI API that can be used to programmatically control and monitor Hyper-V as well as automate deployment and management of virtual machines. All of the features offered in Hyper-V Manager can be reproduced as scripts that leverage this development interface.

Scripts and self-developed applications can be created using a variety of languages, including C#, Perl, C++, or Visual Basic, to name just a few popular alternatives. Scripts can be executed using Microsoft Windows PowerShell, which provides you with the ability to run commands in a Windows Shell and immediately see the results.

Note

The Hyper-V WMI API is discussed in detail in Chapter 16. Chapter 16 contains many scripts that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required