Chapter 9: Understanding WMI, Scripting, and Hyper-V

It’s fortunate that the technology underpinnings exist in Windows and Hyper-V to customize access to virtual machines for users, easily automate processes, and collect information about a virtualization environment. You can use command-line tools, batch files, and scripting languages to tailor solutions in Windows Server 2008 and Hyper-V to meet nearly any virtualization requirements.

This chapter examines many of the scenarios you may encounter that require more than standard tools and looks at some of the automation techniques you can use with Hyper-V. We’ll look at the role of Windows Management Instrumentation (WMI) for managing Hyper-V and how you can use WMI from both VBScript and Windows ...

Get Windows Server® 2008 R2 Hyper-V™: Insiders Guide to Microsoft's Hypervisor now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.