Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create VM on Diff disk and attach unattendxml iso before starting
New-VHD -Differencing -ParentPath .\BaseWMF5.vhd -Path .\BaseWMF5_diff.vhd
New-VM -Name TestBase -BootDevice IDE -VHDPath .\BaseWMF5_diff.vhd -SwitchName inet -Path .\hyperv\
set-VMDvdDrive -VMName TestBase -Path .\Unattendxml.iso
Start-VM TestBase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment