- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5
cMDTBuildOperatingSystem
        Pavel Andreev edited this page Feb 1, 2019 
        ·
        2 revisions
      
    cMDTBuildOperatingSystem is a DscResource that import of Operating Systems source files in MDT.
Available parameters:
- [Ensure] - Present/Absent
- [Name] - Name
- [Path] - MDT path
- [SourcePath] - Source path to content of Windows ISO distribution
- [CustomImage] - $false/$true. If true, import latest wim from [SourcePath]
- [PSDriveName] - The PSDrive name for the MDT deployment share
- [PSDrivePath] - The physical path to the MDT deployment share
The DscResource will import Operating Systems according to the following principle:
- Verify status present or absent
- If present:
- Verify if the Operating System already exist in MDT
- If OS not exist, import from SourcePath
 
- If absent:
- The operating system will be removed
 
Desired State Configuration job example:
cMDTBuildOperatingSystem Win10x64 {
    Ensure = "Present"
    Name = "Windows 10 x64"
    Path = "Windows 10"
    SourcePath = "$SourcePath\Windows10x64"
    PSDriveName = $PSDriveName
    PSDrivePath = $PSDrivePath
}- Home
- Quick Start
- How to Update MDT Server
- Prepare Windows Update Server
- Version History
- The DSC Resources:
- References