Tests/Test-cMDTBuildBootstrapIni.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# cMDTBuildBootstrapIni Test
#
$PSDrivePath = "E:\MDTBuildLab"

Configuration MDTServer
{
    cMDTBuildBootstrapIni ini {
        Ensure = "Present"
        Path = "$($PSDrivePath)\Control\Bootstrap.ini"
        Content = @"
[Settings]
Priority=Default
 
[Default]
DeployRoot=\\$($ComputerName)\DeploymentShare$
SkipBDDWelcome=YES
 
;MDT Connect Account
UserID=$($UserName)
UserPassword=$($Password)
UserDomain=$($env:COMPUTERNAME)
"@

    }
}