Book Image

Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform

By : ZAHIR HUSSAIN SHAH
Book Image

Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform

By: ZAHIR HUSSAIN SHAH

Overview of this book

Table of Contents (20 chapters)
Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Introduction
SCVMM 2012 New Features and Enhancements
SCVMM Management Console Configuration Settings
Index

Windows PowerShell 3.0 capabilities for Hyper-V


Okay, since we have now gone through the technical overview of PowerShell, and the enhancements made to PowerShell 3.0 for Hyper-V management and automation, let's proceed to the last section of this chapter. Here we will discuss the PowerShell 3.0 cmdlets for Hyper-V, or in other words, the capabilities of PowerShell 3.0 for Hyper-V management and task automation.

Now let's see the capabilities that PowerShell 3.0 provides for the management and automation of Hyper-V. For this assessment, we will see the following examples of PowerShell cmdlet usage for Hyper-V management and operations.

Note

To take a look at the list of PowerShell cmdlets for Windows Server 2012 Hyper-V, please visit the following TechNet URL:

http://technet.microsoft.com/en-us/library/hh848559.aspx

Example 1 – creating a new virtual machine

In this example we will create a new virtual machine on our Windows Server 2012 Hyper-V using PowerShell. We will first create a new...