GUI to easily create a Hyper-V virtual machine

Posted by

I have been using this PowerShell script or GUI for quite some time when I create local Hyper-v virtual machines in my lab, the challenge I had was that the settings I want on my VMs reqiures extra steps in the Hyper-V management console after the VM is created like amount of CPU and default boot DVD.

So I just updated it to work on Windows 10 and is looks as boring like this and the code is not nice and does not include any error handling at all! But it works for me, saves me time and keeps me happy 🙂

image

To make this script fit your environment and needs modify these rows

$VMPath = “D:\Hyper-V”
$VMBootDVD = “F:\Deploy\Boot\LiteTouchPE_x64.iso”
$VMMemory = 2GB
$VMVHDXSize = 50GB
$VMProcessorCount = 2
$VMGeneration = 2
$VMNet1 = “Internal 2”
$VMNet2 = “Internal 1”

Modify as you’d like and if you have any contributions you would like to share please use the comments below.

 

Now go download the script

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.