PS – Local Hyper-V Manager – v20260302

Welcome to the update of Local Hyper-V Manager v20260220. Today I release a new version of my most used script on my work laptop.

You can download the script here: LocalHyperVManager_V20260302.zip

What does the script do?

The script makes it easier and quicker to create new Virtual Machines on a local Hyper-V server. During my work I want to test new software, scripts and VMs are ideal for those. Also when working on Intune Autopilot deployments I usually use VMs to test the deployments. This tool I wrote allows me to create a new empty VM or a VM from a template in seconds.

Please read full info about this tool on this page.

Revision history:

v20260303:

  • Fixed Hyper-V detection
  • Fixed ISO selection

v20260220:

  • Add [LOCALHYPERVMANAGER] tag in Notes.
  • Only show [LOCALHYPERVMANAGER] VMs in delete selection to prevent dataloss.
  • Fixed ‘Enable TPM’ on Gen2 VMs.
  • Added error correction on XML file.
  • Added detection for Hyper-V powershell module
  • Added detection for Administrator privileges.
  • Start VM after creation Y/N
  • Add ISO to new empty VM.

v202509dev:

  • Delete VM selection change to out-gridview for easier and multi select.

PS – Local Hyper-V Manager

This blog will show you my self built PowerShell based Hyper-V Manager for my work laptop. I work as an IT consultant at Advantive. During my work I do have the need for testing things on virtual machines running Windows Server or Windows 10/11 client OS.

The built in Hyper-V works perfect for this. It only lacks an easy way of deploying templates of Windows OS images. Therefore I created a PowerShell based Hyper-V Manager that does exactly this. The script works on Windows 11, but should also work on Windows 10 or even Windows Server.

View this page for the updated version.

Features of my solution:

  1. Save disk space due to VHDX differential disks.
  2. Deploy new Windows based VM with default size and default settings in just a minute.
  3. Allow connectivity from Hyper-V host to VM with an Internal Network, for example to use RDP to enter the VM.
Continue reading PS – Local Hyper-V Manager