-
Notifications
You must be signed in to change notification settings - Fork 15
ChocolateyFeature
dscbot edited this page Apr 19, 2023
·
1 revision
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Ensure | Write | Ensure | Indicate whether the Chocolatey feature should be enabled or disabled on the system. | |
Name | Key | string | Name - the name of the feature. | |
Reasons | Read | ChocolateyReason[] |
Chocolatey configuration lets you enable or disabled features, but while some are set by defaults. This resources lets you enable or disable a feature, but also tells you if it's been set or just left as default.
This is an unofficial module with DSC resource to Install and configure Chocolatey.
configuration Example {
Import-DscResource -ModuleName Chocolatey
Node localhost {
ChocolateyFeature NoVIrusCheck {
Ensure = 'Absent'
Name = 'viruscheck'
}
}
}