Skip to content

cMDTBuildUpdateBootImage

Pavel Andreev edited this page Feb 7, 2019 · 2 revisions

cMDTBuildUpdateBootImage

cMDTBuildUpdateBootImage is a DscResource that enables creation and management of boot images with lifecycle management for MDT.

Available parameters:

  • [Version] - Version number
  • [PSDeploymentShare] - Name of MDT drive
  • [PSDrivePath] - MDT path
  • [ExtraDirectory] - Extra Directory to add in WinPE
  • [BackgroundFile] - WinPE Background picture
  • [LiteTouchWIMDescription] - WinPE image description
  • [CreateISOx64] - Enable Boot-x64 ISO. Default is false

The DscResource will import applications according to the following principle:

  • Verify if the boot image exist in MDT, and if determine version
  • If the boot image does not exist or version number do not match a boot image will be created

Desired State Configuration job example:

cMDTBuildUpdateBootImage updateBootImage {
    Version = "1.0"
    PSDeploymentShare = $PSDriveName
    PsDrivePath = $PSDrivePath
    ExtraDirectory = "Extra"
    BackgroundFile = "%INSTALLDIR%\Samples\Background.bmp"
    LiteTouchWIMDescription = "MDT Build Lab"
}