< Back

Get-ChocoFeature

Sun Jan 19, 2020 6:20 pm

NAME Get-ChocoFeature



SYNOPSIS

Retrieve feature settings from chocolatey config file





SYNTAX

Get-ChocoFeature [[-ChocolateyConfig] <String>] [[-Feature] <String[]>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-ChocolateyConfig <String>

The config file 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



-Feature <String[]>

The feature(s) you with to query for information



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-ChocoFeature



Returns all features and their values









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-ChocoFeature -Feature useBackgroundService



Retrieves current setting of useBackgroundService feature











RELATED LINKS