< Back

Add-AzDoVariableGroupVariable

Sat Jan 18, 2020 7:37 pm

NAME Add-AzDoVariableGroupVariable



SYNOPSIS

Add/Replace a new variable to a specific Azure DevOps libary





SYNTAX

Add-AzDoVariableGroupVariable [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] -VariableGroupName

<String> -VariableName <String> -VariableValue <String> [-Secret <Boolean>] [-Force] [-WhatIf] [-Confirm]

[<CommonParameters>]



Add-AzDoVariableGroupVariable [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] -VariableGroupId

<String> -VariableName <String> -VariableValue <String> [-Secret <Boolean>] [-Force] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

The command will add/replace a variable to the specificed variable group





PARAMETERS

-AzDoConnection <AzDoConnectObject>

Common Parameters



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

Allows for specifying a specific version of the api to use (default is 5.0)



Required? false

Position? named

Default value $global:AzDoApiVersion

Accept pipeline input? false

Accept wildcard characters? false



-VariableGroupName <String>

The name of the variable group to create/update (optional)



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-VariableGroupId <String>

A id for the variable group (optional)



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-VariableName <String>

Tha name of the variable to create/update



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-VariableValue <String>

The variable for the variable



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Secret <Boolean>

Indicates if the vaule should be stored as a "secret"



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Force [<SwitchParameter>]

Indicates if the variable should be updated even if it exists



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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



Add-AzDoVariableGroupVariable -VariableGroupName <variable group name>-VariableName <variable name> -VariableValue

<some value>















RELATED LINKS

https://github.com/ravensorb/Posh-AzureDevOps