PackageDeployment Module Help

Package Deployment Module

Set-PdVar Cmdlet

Version 4.0.0.5

Set-PdVar

Synopsis

Set Variable Value

Syntax

Set-PdVar [-Name] <String> [[-Value] <Object>] [-ContinueOnError] [-DoNotLog] [<CommonParameters>]

Description

Use this command to set a specified value (user-defined, local variable) for a variable.
The variable you set in this command's dialog box for a specific installation package is valid for the complete installation package and for all other installation packages called by this specific installation package as well as all component packages of the installation package.

Parameters

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

-DoNotLog <SwitchParameter>

Do not log command.

Required

False

Position

Named

Accepts pipeline input

False

-Name <String>

Enter the name of the variable you want to set (omitting the % sign).

Required

True

Position

0

Accepts pipeline input

False

-Value <Object>

Enter the value of the variable specified above.

Required

False

Position

1

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".