Disable-ChocolateySource
SYNOPSIS
Disable a Source set in the Chocolatey Config
SYNTAX
Disable-ChocolateySource [-Name] <String> [-NoProgress] [<CommonParameters>]
DESCRIPTION
Lets you disable an existing source. The equivalent Choco command is Choco source disable -n=sourcename
EXAMPLES
EXAMPLE 1
Disable-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