Skip to content

Get-ConfigurationItem

SYNOPSIS

Gets a piece of configuration data from the first source that contains the specified key.

SYNTAX

Get-ConfigurationItem [-Key] <String> [<CommonParameters>]

DESCRIPTION

Gets a piece of configuration data from the first source that contains the specified key. Configuration sources are searched in the order in which they were loaded.

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Key

Specifies the key to retrieve a value for.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
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

Variant. The output type depends on the contents of the configuration data.

NOTES

Back to top