Tests/Test-cMDTBuildPersistentDrive.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# cMDTBuildPersistentDrive Test
#
$PSDriveName  = "MDT001"
$PSDrivePath  = "E:\MDTBuildLab"
$ComputerName = "$env:computername"

Configuration MDTServer
{
    cMDTBuildPersistentDrive DeploymentPSDrive {
        Ensure = "Present"
        Name = $PSDriveName
        Path = $PSDrivePath
        Description = "MDT Build Share"
        NetworkPath = "\\$ComputerName\DeploymentShare$"
    }
}