Tests/Test-cMDTBuildCustomize.ps1

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

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