MDT2012 Update 1 : Change settings.xml using PowerShell

 

The default PowerShell cmdlet to create the media deploypoint doesn’t include option to select the boot image feature packs.

But you can dynamically edit the settings.xml using the following PowerShell command before generating the ISO image.

 

$xmlFile = \\MDTServer\DeploymentShare\Control\Settings.xml

$xmlDoc = [XML](gc $xmlFile)

$xmldoc.Settings.'Boot.X86.FeaturePacks' = "winpe-dismcmdlets,winpe-enhancedstorage,winpe-fonts-legacy,winpe-fontsupport-ja-jp,winpe-fontsupport-ko-kr,winpe-fontsupport-zh-cn,winpe-fontsupport-zh-hk,winpe-fontsupport-zh-tw,winpe-mdac,winpe-netfx4,winpe-powershell3,winpe-pppoe,winpe-rndis,winpe-securebootcmdlets,winpe-storagewmi"

$xmldoc.Settings.'Boot.X64.FeaturePacks' = "winpe-dismcmdlets,winpe-dot3svc,winpe-enhancedstorage,winpe-fonts-legacy,winpe-fontsupport-ja-jp,winpe-fontsupport-ko-kr,winpe-fontsupport-zh-cn,winpe-fontsupport-zh-hk,winpe-fontsupport-zh-tw,winpe-mdac,winpe-netfx4,winpe-powershell3,winpe-pppoe,winpe-rndis,winpe-securebootcmdlets,winpe-storagewmi"

$xmldoc.Save($xmlFile)

 

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use