Skip to content

Get-ChocolateySource

SYNOPSIS

List the source from Configuration file.

SYNTAX

Get-ChocolateySource [[-Name] <String[]>] [<CommonParameters>]

DESCRIPTION

Allows you to list the configured source from the Chocolatey Configuration file. When it comes to the source location, this can be a folder/file share or an http location. If it is a url, it will be a location you can go to in a browser and it returns OData with something that says Packages in the browser, similar to what you see when you go to https://chocolatey.org/api/v2/.

EXAMPLES

EXAMPLE 1

Get-ChocolateySource -Name Chocolatey

PARAMETERS

-Name

Retrieve specific source details from configuration file.

Type: System.String[]
Parameter Sets: (All)
Aliases: id

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