Managing Hyper-V

In this chapter, we cover the following recipes:

  • Installing Hyper-V inside Windows Server
  • Creating a Hyper-V VM
  • Using PowerShell Direct
  • Using Hyper-V VM groups
  • Configuring VM hardware
  • Configuring VM networking
  • Implementing nested virtualization
  • Managing VM state
  • Managing VM and storage movement
  • Managing VM replication
  • Managing VM checkpoints


Hyper-V is Microsoft's virtual machine (VM) hypervisor. Both Windows Server 2022 and Windows 10 include Hyper-V as an option you can install, on all versions of Windows Server 2022, and the Enterprise, Professional, and Education editions of Windows 10.

Microsoft first released Hyper-V with Server 2008 and has improved it significantly with each successive version of Windows ...

Get Windows Server Automation with PowerShell Cookbook - Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.