Skip to content

Enable-ChocolateySource

SYNOPSIS

Enable a Source set in the Chocolatey Config

SYNTAX

Enable-ChocolateySource [-Name] <String> [-NoProgress] [<CommonParameters>]

DESCRIPTION

Lets you Enable an existing source from the Chocolatey Config. The equivalent Choco command is Choco source enable -n=sourcename

EXAMPLES

EXAMPLE 1

Enable-ChocolateySource -Name 'chocolatey'

PARAMETERS

-Name

Name of the Chocolatey source to Disable

Type: System.String
Parameter Sets: (All)
Aliases:

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

-NoProgress

This allows to reduce the output created by the Chocolatey Command.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: True (ByPropertyName)
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

NOTES

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

Back to top