< Back

Get-ChocolateySetting

Mon Jan 13, 2020 1:27 am

NAME 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.





PARAMETERS

-Setting <String[]>

Name of the Setting when retrieving a single one or a specific list.

It defaults to returning all Settings available in the config file.



Required? false

Position? 1

Default value *

Accept pipeline input? true (ByValue, 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/CommandsConfig



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



PS C:\\>Get-ChocolateySetting -Name CacheLocation















RELATED LINKS