Microsoft Hyper-V
P03 intermediate
Native virtualization with Microsoft Hyper-V
On Windows Server 2022, add the Hyper-V role, create an external virtual switch, build a Generation 2 VM with the New Virtual Machine Wizard, fix the Secure Boot trap for Linux guests, install the OS, take a checkpoint and automate a second VM with PowerShell.
What you'll do
- Install the Hyper-V role
- Create an external virtual switch
- Create and configure a Generation 2 VM
- Understand Secure Boot templates
- Manage VMs with checkpoints and PowerShell
Lab tasks
- 1 Install the Hyper-V role
-
2
Create an external switch named
ExternalSwitch -
3
Create Generation 2 VM
UbuntuVM01 - 4 Give the VM 2 virtual processors
- 5 Start the VM and observe the boot failure
- 6 Fix Secure Boot for a Linux guest
- 7 Boot the installer and install Ubuntu
- 8 Take a checkpoint
-
9
Create
UbuntuVM02with PowerShell -
10
List all VMs with
Get-VM