The xDismFeature module is a part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit, which is a collection of DSC Resources produced by the PowerShell Team. This module enables or disables Windows optional features that specifically need to be handled by DISM.exe. The xDismFeature module contains a single resource, xDismFeature.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Please read the DSC Resources contributing guidelines if you would like to contribute.
The xDismFeature module contains the xDismFeature DSC Resource. This DSC module enables the install and uninstall of features that require the use of DISM.EXE
-
Ensure: An enumerated value (Present, Absent) to indicate if the feature is or is not installed.
-
Name: KEY - The name of the feature to be installed.
-
Source: (Optional) Source for features with packages removed. Setting source will also make dism act in "/LimitAccess", or offline-mode.
- xDismFeature: Resource no longer includes the Source parameter when it is not specified
- Converted appveyor.yml to install Pester from PSGallery instead of from Chocolatey.
- Remove UTF8 BOM
- Added source parameter for offline use
- Initial release with the following resources
- xDismFeature
Configuration SIS-Limited
{
Import-DscResource -Module xDismFeature
Node 'NodeName'
{
Ensure = 'Present'
Name = 'SIS-Limited'
}
}
Configuration SIS-Limited
{
Import-DscResource -Module xDismFeature
Node 'NodeName'
{
Ensure = 'Present'
Name = 'SIS-Limited'
}
}
Configuration SIS-Limited
{
Import-DscResource -Module xDismFeature
Node 'NodeName'
{
Ensure = 'Absent'
Name = 'SIS-Limited'
}
}
Configuration SIS-Limited
{
Import-DscResource -Module xDismFeature
Node 'NodeName'
{
Ensure = 'Absent'
Name = 'SIS-Limited'
}
}