Skip to content

Lubenz007/hyper-v-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyper-v-tool

My tool to create vm's in my lab

Utilizing a standalone Hyper-V server and generating VMs from a golden image might be considered an older approach, but it's one I personally prefer. Over the years, I've diligently maintained a tool for crafting VMs on my Hyper-V host within the lab environment. I employ SSH to connect to the Hyper-V host and initiate the VM creation process. This tool provides a streamlined menu system that automatically configures the VM, allowing me to promptly begin using it.

  • All config is done in the vm_menu.ps1
  • You can find the oscdimg.exe in the Windows 11 22h2 ADK:

  • https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install

  • Kit "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\arm64\Oscdimg"

  • $global:oscdimgPath = "$global:StartupFolder\tools\oscdimg.exe"

  • #Template location

  • $global:template = "$global:StartupFolder\template"

  • #template vhd name / windows is sysprep / Ubuntu cloud-init / modify for your template.

  • $global:2022core = "W2022C.vhdx"

  • $global:2022stand = "W2022S_OS.vhdx"

  • $global:2022data = "W2022D_OS.vhdx"

  • $global:Ubuntu = "Ubuntu_OS.vhd"

image image image image image image image

About

My tool to create vm's in my lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published