< Back

Get-ChocoSource

Sun Jan 19, 2020 6:20 pm

NAME Get-ChocoSource



SYNOPSIS

List currently configured choco sources





SYNTAX

Get-ChocoSource [[-ChocolateyConfig] <String>] [-Source <String[]>] [<CommonParameters>]





DESCRIPTION

Reads the chocolatey config file and returns a list of currently configured choco sources





PARAMETERS

-ChocolateyConfig <String>

The path the config file to read from



Required? false

Position? 1

Default value "$env:ChocolateyInstall\\config\\chocolatey.config"

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Source <String[]>

The friendly name of the source to retrieve



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



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



PS C:\\>Get-ChocoSource



Returns all currently configured choco sources









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-ChocoSource -Source internal



Returns details about the choco source named "internal".











RELATED LINKS