-
Notifications
You must be signed in to change notification settings - Fork 5
cMDTBuildCustomize
pvs043 edited this page Nov 2, 2016
·
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
- [Path] - MDT path
- [SourcePath] - Folder under $SourcePath
- [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
- If absent:
- The folder will be removed
Desired State Configuration job example:
cMDTBuildCustomize PEExtraFiles {
Ensure = "Present"
Name = "PEExtraFiles"
Path = $PSDrivePath
SourcePath = "$($SourcePath)/PEExtraFiles"
TestFiles = @("Script1.vbs", "Script2.vbs")
}
- Home
- Quick Start
- How to Update MDT Server
- Prepare Windows Update Server
- Version History
- The DSC Resources:
- References