O'Reilly logo

Windows PowerShell® 2.0 Bible by Tome Tanasovski, Mark E. Schill, Karl Mitschke, Thomas Lee

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

CHAPTER 21

Managing System Center Virtual Machine Manager 2008 R2

IN THIS CHAPTER

Adding Hyper-V hosts to VMM

Attaching clusters to VMM

Creating and controlling virtual machines

Introducing libraries

System Center Virtual Machine Manager (VMM), part of the System Center suite of applications, is Microsoft's solution for managing Hyper-V, Microsoft's virtualization tool in enterprise environments. In this chapter, you explore managing hosts and virtual machines as well as maintaining your VMM library.

Working with System Center Virtual Machine Manager 2008 R2

In this section, you are introduced to the VMM snap-in. In addition, you learn how to back up the VMM database and how to use the VMM Administrator Console to write scripts.

Installing and Loading the Cmdlets

To install the VMM cmdlets on your system, you need to install the VMM Administrator Console. Once you install the VMM Administrator Console, the cmdlets are installed. They are in the Microsoft.SystemCenter.VirtualMachineManager snap-in. To load them into your system, you load this snap-in:

Add-PSSnapin -Name Microsoft.SystemCenter.VirtualMachineManager

The VMM cmdlets are now loaded into your Windows PowerShell session and are available to you.

Backing Up the VMM Database

VMM has a unique cmdlet that enables you to back up your VMM database without having to engage the assistance of your local database administrator. This is accomplished with the Backup-VMMServer cmdlet. The first step is to use Get-VMServer to get ...

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