-
Notifications
You must be signed in to change notification settings - Fork 5
cMDTBuildPackage
pvs043 edited this page Nov 2, 2016
·
1 revision
cMDTBuildPackage is a DscResource that enables import packages in MDT. Packages must be placed into source directory.
Available parameters:
- [Ensure] - Present/Absent
- [Name] - Package name
- [Path] - MDT path
- [PackageSourcePath] - Folder under $SourcePath
- [PSDriveName] - The PSDrive name for the MDT deployment share
- [PSDrivePath] - The physical path to the MDT deployment share
The DscResource will import applications according to the following principle:
- Verify status present or absent
- If present:
- Verify if the package already exist in MDT
- If the package does not exist the package will be imported
- If absent:
- If package exist it will be removed
Desired State Configuration job example:
cMDTBuildPackage KB3125574_x64 {
Ensure = "Present"
Name = "Package_for_KB3125574 neutral amd64 6.1.4.4"
Path = "Packages\Windows 7"
PackageSourcePath = "Update for Windows 7 for x64-based Systems (KB3125574)"
PSDriveName = $PSDriveName
PSDrivePath = $PSDrivePath
}
- Home
- Quick Start
- How to Update MDT Server
- Prepare Windows Update Server
- Version History
- The DSC Resources:
- References