Set-ScUserConfigValue

Sets a config value in the Bob.config.user

Syntax

Set-ScUserConfigValue [-Key] <String> [-Value] <String> [[-ProjectPath] <String>] [[-ConfigFileName] <String[]>] [<CommonParameters>]

Description

Sets a config value in the current Bob.config.user. If the file does not exist yet, it will be created. If the Bob.config.user does not contain a Key yet, it will be added.

Parameters

-Key <String>

The config key to set

Position Required Default value Accept pipeline input Accept wildchard characters
1 true false false

-Value <String>

The value to set.

Position Required Default value Accept pipeline input Accept wildchard characters
2 true false false

-ProjectPath <String>

If specified, the Bob.config.user will be searched inside this path.

Position Required Default value Accept pipeline input Accept wildchard characters
3 false false false

-ConfigFileName <String[]>

A list of config file names which will be used to find the correct project, when no ProjectPath was provided.

Position Required Default value Accept pipeline input Accept wildchard characters
4 false @("Bob.config", "Bob.config.user") false false

Examples

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

results matching ""

    No results matching ""