Skip to content

Creates a Windows VM for Hyper-V from a Windows-ISO

License

Notifications You must be signed in to change notification settings

GoGIGA/Convert-WindowsImage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Convert-WindowsImage

Creates a Windows VM for Hyper-V from a Windows-ISO

Examples

  1. Dotsource the script to load the functions . .\Convert-WindowsImage.ps1

  2. Create a Windows Server 2019 VM

Convert-WindowsImage -SourcePath "C:\Temp\windowsServer2019.iso" -VHDFormat "VHDX" -Edition "Windows Server 2019 Standard" -SizeBytes 50GB -DiskLayout "UEFI" -VHDPath "C:\Temp\windowsServer2019.vhdx"

Requirements

The script needs Powershell 5.1 on a Windows System with administrator rights. ISE is currently not supported

License

The code is licensed under the MIT licencse (X11) as per the original source this implementation is based upon. See LICENSE for details.

About

Creates a Windows VM for Hyper-V from a Windows-ISO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%