Microsoft Hyper-V PowerShell Automation

Manage, automate, and streamline your Hyper-V environment effectively with advanced PowerShell cmdlets

Microsoft Hyper-V PowerShell Automation

This ebook is included in a Mapt subscription
Vinith Menon

Manage, automate, and streamline your Hyper-V environment effectively with advanced PowerShell cmdlets
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781784391539
Paperback124 pages

Book Description

Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. Hyper-V is Microsoft's hypervisor that creates and runs virtual machines. Hyper-V for Windows PowerShell provides IT pros with an easy way to enable automation of management tasks within Windows Server. The Hyper-V PowerShell module includes several significant features that extend its use, improve its usability, and allow you to control and manage your Hyper-V environment with more granular control.

This book explores the new features made available with Hyper-V version 3, and breaks down the mystery and confusion that surrounds which feature to use and when. It also teaches you the PowerShell way to automate the usage of these features. It will take you through a number of practical examples that will help you take advantage of the Hyper-V version 3 cmdlets efficiently. You will also learn how to use Hyper-V version 3 PowerShell cmdlets to install and configure Hyper-V in a Windows Server environment and also learn about the various administration tasks in detail. You will learn everything you need to get started with administering your Hyper-V environment using PowerShell.

Table of Contents

Chapter 1: New PowerShell Cmdlets in Hyper-V on Windows Server 2012 R2
Installing and configuring Hyper-V using PowerShell
Fundamental concepts of Hyper-V management with the Hyper-V management shell
Shared virtual hard disks
Live virtual hard disk resizing
The storage quality of the service feature
Virtual machine generation
Updated features in integration services
Updated features for exporting a virtual machine
Updated features in Hyper-V Replica
Summary
Chapter 2: Managing Your Hyper-V Virtual Infrastructure
Extracting information about Hyper-V hosts and the associated virtual machines
Creating, deleting, starting, and stopping virtual machines
Configuring properties on virtual machines
Summary
Chapter 3: Managing Your Hyper-V Virtual Machines
Managing virtual switches and virtual network adapters
Managing virtual machine connections
Summary
Chapter 4: Creating Reusable PowerShell Scripts Using Hyper-V PowerShell Module Cmdlets
Creating reusable scripts for virtual machine creation utilizing ODX
Creating reusable scripts for virtual machine live migration
Creating reusable scripts to manage export and import of virtual machine snapshots
Creating reusable scripts to automate installation of Integration Service in virtual machines
Summary
Chapter 5: The Next Step – Integration with SCVMM
Why integrate with SCVMM?
PowerShell cmdlets in integration with SCVMM
Summary
Chapter 6: Troubleshooting Hyper-V Environment Issues and Best Practices Using PowerShell
Troubleshooting the Hyper-V environment using the event log
Troubleshooting the Hyper-V environment using BPA
The PowerShell community
Summary

What You Will Learn

  • Understand and optimize the new features of Hyper-V on Windows Server 2012 R2
  • Install and configure your Hyper-V environment on a Windows Server environment using PowerShell
  • Extract information about Hyper-V hosts and the associated virtual machines
  • Create, delete, start, and stop virtual machines and configure their properties
  • Utilize Hyper-V PowerShell module cmdlets to create reusable PowerShell scripts
  • Integrate your Hyper-V environment for enterprise-level management using SCVMM to create and manage private clouds
  • Troubleshoot your Hyper-V environment with PowerShell and custom scripts

Authors

Table of Contents

Chapter 1: New PowerShell Cmdlets in Hyper-V on Windows Server 2012 R2
Installing and configuring Hyper-V using PowerShell
Fundamental concepts of Hyper-V management with the Hyper-V management shell
Shared virtual hard disks
Live virtual hard disk resizing
The storage quality of the service feature
Virtual machine generation
Updated features in integration services
Updated features for exporting a virtual machine
Updated features in Hyper-V Replica
Summary
Chapter 2: Managing Your Hyper-V Virtual Infrastructure
Extracting information about Hyper-V hosts and the associated virtual machines
Creating, deleting, starting, and stopping virtual machines
Configuring properties on virtual machines
Summary
Chapter 3: Managing Your Hyper-V Virtual Machines
Managing virtual switches and virtual network adapters
Managing virtual machine connections
Summary
Chapter 4: Creating Reusable PowerShell Scripts Using Hyper-V PowerShell Module Cmdlets
Creating reusable scripts for virtual machine creation utilizing ODX
Creating reusable scripts for virtual machine live migration
Creating reusable scripts to manage export and import of virtual machine snapshots
Creating reusable scripts to automate installation of Integration Service in virtual machines
Summary
Chapter 5: The Next Step – Integration with SCVMM
Why integrate with SCVMM?
PowerShell cmdlets in integration with SCVMM
Summary
Chapter 6: Troubleshooting Hyper-V Environment Issues and Best Practices Using PowerShell
Troubleshooting the Hyper-V environment using the event log
Troubleshooting the Hyper-V environment using BPA
The PowerShell community
Summary

Book Details

ISBN 139781784391539
Paperback124 pages
Read More

Read More Reviews