Examples/Example-cMDTBuildCustomize.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# cMDTBuildCustomize Example
#
$PSDrivePath = "E:\MDTBuildLab"
$SourcePath  = "E:\Source"

Configuration MDTServer
{
        cMDTBuildCustomize ExtraFiles {
            Ensure = "Present"
            Name = "ExtraFiles.zip"
            Path = $PSDrivePath
            SourcePath = "$($SourcePath)\Scripts"
            TestFiles = @("Script1.vbs", "Script2.vbs")
        }
}