Resource Type: dsc_xwindowsoptionalfeature
- Defined in:
- lib/puppet/type/dsc_xwindowsoptionalfeature.rb
Overview
The DSC xWindowsOptionalFeature resource type. Automatically generated from version 9.2.1
Properties
-
dsc_customproperties
The custom properties retrieved from the Windows optional feature as an array of strings.
-
dsc_description
The description retrieved from the Windows optional feature.
-
dsc_displayname
The display name retrieved from the Windows optional feature.
-
dsc_ensure
Specifies whether the feature should be enabled or disabled. To enable the feature, set this property to Present. To disable the feature, set the property to Absent. The default value is Present.
-
dsc_loglevel
The maximum output level to show in the log. Accepted values are: ErrorsOnly (only errors are logged), ErrorsAndWarning (errors and warnings are logged), and ErrorsAndWarningAndInformation (errors, warnings, and debug information are logged).
-
dsc_logpath
The path to the log file to log this operation. There is no default value, but if not set, the log will appear at %WINDIR%LogsDismdism.log.
-
dsc_nowindowsupdatecheck
Specifies whether or not DISM contacts Windows Update (WU) when searching for the source files to enable the feature. If $true, DISM will not contact WU.
-
dsc_removefilesondisable
Specifies that all files associated with the feature should be removed if the feature is being disabled.
Parameters
-
dsc_name (namevar)
The name of the Windows optional feature to enable or disable.
-
dsc_psdscrunascredential
-
dsc_timeout
The maximum time in seconds to wait for the DSC resource to complete.
-
name (namevar)
Description of the purpose for this resource declaration.
-
validation_mode
(defaults to: property)
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).