< Back

Find-ConfigData

Thu Jan 16, 2020 8:24 am

NAME Find-ConfigData



SYNOPSIS

Get a list of config data names from file





SYNTAX

Find-ConfigData [[-NameLike] <String>] [-WithValues] [-Decrypt] [[-Path] <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-NameLike <String>

Like string to filter results



Required? false

Position? 1

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-WithValues [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Decrypt [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Path <String>

Path to the config file



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

Name of members matching the NameLike





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Find-ConfigData



Get all the keys in the file









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



PS C:\\>Find-ConfigData Keys.*



Get all the keys that start with 'Keys.'











RELATED LINKS