< Back
Get-ChocoConfig
Post
NAME Get-ChocoConfig
SYNOPSIS
Converts choco's configuration file into a powershell object
SYNTAX
Get-ChocoConfig [[-ChocolateyConfig] <String>] [[-ConfigurationItem] <String[]>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ChocolateyConfig <String>
The chocolatey config to load. Defaults to $Env:ChocolateyInstall\\config\\chocolatey.config
Required? false
Position? 1
Default value "$env:ChocolateyInstall\\config\\chocolatey.config"
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ConfigurationItem <String[]>
Return only specified Configuration Item(s).
Required? false
Position? 2
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-ChocoConfig
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ChocoConfig -ConfigurationItem proxy
RELATED LINKS
SYNOPSIS
Converts choco's configuration file into a powershell object
SYNTAX
Get-ChocoConfig [[-ChocolateyConfig] <String>] [[-ConfigurationItem] <String[]>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-ChocolateyConfig <String>
The chocolatey config to load. Defaults to $Env:ChocolateyInstall\\config\\chocolatey.config
Required? false
Position? 1
Default value "$env:ChocolateyInstall\\config\\chocolatey.config"
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-ConfigurationItem <String[]>
Return only specified Configuration Item(s).
Required? false
Position? 2
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-ChocoConfig
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-ChocoConfig -ConfigurationItem proxy
RELATED LINKS