-
Notifications
You must be signed in to change notification settings - Fork 5
cMDTBuildCustomize
Pavel Andreev edited this page Jan 29, 2019
·
2 revisions
cMDTBuildCustomize is a DscResource that enables management of custom settings, additional folders and scripts with lifecycle management for MDT.
Available parameters with example:
- [Ensure] - Present/Absent
- [Name] - Name of zip archive or script
- [Path] - MDT path
- [SourcePath] - Folder under $SourcePath
- [TargetPath] - Folder under MDT path
- [TestFiles] - File names into zip archive
The DscResource will import custom settings files and directories according to the following principle:
- Verify status present or absent
- If present:
- Extract files from zip archive to MDT folder
Desired State Configuration job example:
cMDTBuildCustomize ExtraFiles {
Ensure = "Present"
Name = "PEExtraFiles"
Path = $PSDrivePath
SourcePath = "$($SourcePath)\ExtraFiles"
TestFiles = @("Script1.vbs", "Script2.vbs")
}
- Home
- Quick Start
- How to Update MDT Server
- Prepare Windows Update Server
- Version History
- The DSC Resources:
- References