< Back

Disable-ChocolateySource

Mon Jan 13, 2020 1:20 am

NAME 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





PARAMETERS

-Name <String>

Name of the Chocolatey source to Disable



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-NoProgress [<SwitchParameter>]

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



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

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



NOTES





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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Disable-ChocolateySource -Name chocolatey















RELATED LINKS