Get-DbcConfig
SYNOPSIS
Retrieves configuration elements by name.
SYNTAX
Get-DbcConfig [[-Name] <String[]>] [-EnableException] [<CommonParameters>]
DESCRIPTION
Retrieves configuration elements by name. Can be used to search the existing configuration list.
EXAMPLES
EXAMPLE 1
Get-DbcConfig app.sqlinstance
Retrieves the configuration element for the configuration app.sqlinstance
PARAMETERS
-Name
Default: "*" The name of the configuration element(s) to retrieve. May be any string, supports wildcards.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
-EnableException
By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message. This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting. Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
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
NOTES
RELATED LINKS
https://dbachecks.readthedocs.io/en/latest/functions/Get-DbcConfig/