Skip to content

cMDTBuildUpdateBootImage

pvs043 edited this page Nov 2, 2016 · 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

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"
}
Clone this wiki locally