Automated creation of Native Boot (VHDx) installations, using just a Windows Setup image (.iso).
Automated creation of Native Boot .vhd(x)
installations, using just a Windows Setup image .iso
.
.vhd(x)
DISM.exe
: Apply Windows to disk imagecompact.exe
: Compress using /CompactOS
and /EXE:XPRESS16K
bcdboot.exe
: Add image to boot recordHyper-V
cmdlets - no additional components requiredWindows Setup
.iso
.
. .\PSWindowsNativeBoot.ps1
New-WindowsNativeBoot -Source 'D:\Downloads\Windows10_InsiderPreview_Client_x64_en-gb_15063.iso' -ImagePath 'D:\VirtualDisk\Windows_10_Build-15063_InsiderPreview.vhdx' -ImageSize 32GB
Description | |
---|---|
Source |
Path to Windows Setup image .iso |
ImagePath |
Destination for the created disk image .vhd(x) |
ImageSize |
Maximum disk image size, example: 32GB |
Verbose |
Print additional information about the current process |