Add-SAMEnvironmentVariable
Add-SAMEnvironmentVariable
SYNOPSIS
The object describing the environment properties of a function.
SYNTAX
Single (Default)
Add-SAMEnvironmentVariable [-Name] <String> [-Value] <Object> [<CommonParameters>]
Hashtable
Add-SAMEnvironmentVariable [-Hashtable] <Hashtable> [<CommonParameters>]
DESCRIPTION
The object describing the environment properties of a function.
PARAMETERS
-Hashtable
A hashtable of environment variables
Type: Hashtable
Parameter Sets: Hashtable
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
The name of the environment variable
Type: String
Parameter Sets: Single
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Value
The value of the environment variable
Type: Object
Parameter Sets: Single
Aliases:
Required: True
Position: 2
Default value: None
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.