Features
Minimum Configuration
At a minimum chocolatey features configurations have 2 required parameters. FeatureName and Ensure. FeatureName is the Chocolatey feature name you wish to process and Ensure is the state at which you want that feature option to be.
@{
"allowGlobalConfirmation" = @{
FeatureName = "allowGlobalConfirmation"
Ensure = 'Present'
}
"powershellHost" = @{
FeatureName = "powershellHost"
Ensure = 'Absent'
}
}
Last updated
Was this helpful?