< Back
Set-ChocoFeature
Post
NAME Set-ChocoFeature
SYNOPSIS
Sets the specified feature to the provided state.
SYNTAX
Set-ChocoFeature [-Name] <String> [-State] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Wraps 'choco config' to make setting configuration values easier. Dynamically generates name values from
chocolatey config file.
PARAMETERS
-Name <String>
Name of the feature. Dynamically generated from the configuration file for tab-completion.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-State <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS
SYNOPSIS
Sets the specified feature to the provided state.
SYNTAX
Set-ChocoFeature [-Name] <String> [-State] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Wraps 'choco config' to make setting configuration values easier. Dynamically generates name values from
chocolatey config file.
PARAMETERS
-Name <String>
Name of the feature. Dynamically generated from the configuration file for tab-completion.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-State <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
RELATED LINKS