Skip to content

Disable‑ChocolateyFeature

dscbot edited this page Oct 23, 2025 · 1 revision

SYNOPSIS

Disable a Chocolatey Feature

SYNTAX

Disable-ChocolateyFeature [-Name] <String> [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Allows you to disable a Chocolatey Feature usually accessed by choco feature disable -n=bob

EXAMPLES

EXAMPLE 1

Disable-ChocolateyFeature -Name 'Bob'

PARAMETERS

-Name

Name of the Chocolatey Feature to disable. Some are only available in the Chocolatey for business version.

Type: String
Parameter Sets: (All)
Aliases: Feature

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Void

NOTES

https://github.com/chocolatey/choco/wiki/CommandsFeature

RELATED LINKS

Clone this wiki locally