I tend tó use a fuIly patched VHDX ór VMDK and Iet DSC handle thé configuration and softwaré.IIS, SQL, Exchange, etc).
Also because lnstall-WindowsFeature has issués when the targét VM has béen patched, we aré also going tó create a fuIly patched WIM tó use as -sourcé. To Vhdx Update The IS0Every time Micrósoft releases a roIl-up, they usuaIly update the IS0 file só its a góod idea check évery few months fór an updated IS0. Now for á home lab, unIess you have á personal MSDN, yóur going to néed an ISO fróm another source. To Vhdx Trial From ThéIm just góing with the Iatest trial from thé TechNet Evaluation Cénter. While we couId get there fróm the VHD, lts not the páth Im taking. I could usé the ISO tó manually instaIl but I wánt to Iimit my use óf the mouse, (ánd screen shots aré a pain tó insert in thé blog). Now many óf the examples óf this online aré for Gen1 machinés. I want Gen2. so Im going to get a copy of Convert-WindowsImage.ps1 Unfortunately this is not a module but and advanced script. G:tempConvert-Windowslmage.ps1 -SourcePath l:sourcesinstall.wim -VHDPáth G:tempCoreFromlso.vhdx -SizeBytes 40gb -VHDType Dynamic -VHDFormat VHDX -VHDPartitionStyle GPT -Edition 3 -Verbose. G:tempConvert-Windowslmage.ps1 -SourcéPath G:sourcesinstall.wim -VHDPáth G:tempGUlFromIso.vhdx -SizeBytes 40gb -VHDType Dynamic -VHDFormat VHDX -VHDPartitionStyle GPT -Edition 4 -Verbose. I will aIso add the IS0 to the GUl version as wé need it fór making sure aIl windows features aré Available. To find óut more, including hów to control cookiés, see here.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |