< Back

Set-ChocoConfig

Sun Jan 19, 2020 6:20 pm

NAME Set-ChocoConfig



SYNOPSIS

Sets the specified configuration item to the provided value





SYNTAX

Set-ChocoConfig [-Name] <String> [-Value] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Wraps 'choco config' to make setting configuration values easier. Dynamically generates name values from

chocolatey config file.





PARAMETERS

-Name <String>

Name of the configuration item. Dynamically generated from the configuration file for tab-completion.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Value <String>

The value to set of the Name of the configuration item.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



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:\\>Set-ChocoConfig -Name proxy -Value 'https://awesome.proxy.local'















RELATED LINKS