Examples/Example-cMDTBuildTaskSequenceCustomize.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# cMDTBuildTaskSequenceCustomize Example
#
$PSDriveName = "MDT001"
$PSDrivePath = "E:\MDTBuildLab"
$TSID = "REFW10X64-001"
$TSFile = "$($PSDrivePath)\Control\$($TSID)\ts.xml"

Configuration MDTServer
{
    cMDTBuildTaskSequenceCustomize AddFeatures {
        TSFile      = $TSFile
        Name        = "Install - Microsoft NET Framework 3.5.1"
        Type        = "Install Roles and Features"
        GroupName   = "State Restore"
        SubGroup    = "Custom Tasks (Pre-Windows Update)"
        OSName      = "Windows 10"
        OSFeatures  = "NetFx3,TelnetClient"
        PSDriveName = $PSDriveName
        PSDrivePath = $PSDrivePath
    }
}