Skip to content

Get-ChocolateySetting

SYNOPSIS

Gets the Settings set in the Configuration file.

SYNTAX

Get-ChocolateySetting [[-Setting] <String[]>] [<CommonParameters>]

DESCRIPTION

This command looks up in the Chocolatey Config file, and returns the Settings available from there.

EXAMPLES

EXAMPLE 1

Get-ChocolateySetting -Name CacheLocation

PARAMETERS

-Setting

Name of the Setting when retrieving a single one or a specific list. It defaults to returning all Settings available in the config file.

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

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/CommandsConfig

Back to top