-
Notifications
You must be signed in to change notification settings - Fork 3
New ssisVariable
Richie Lee edited this page May 15, 2020
·
1 revision
Drops Environment variable if it exists and creates an environment variable
New-ssisVariable [[-sqlConn] <SqlConnection>] [[-ssisVar] <PSObject>] [[-ssisProp] <Hashtable>]
[<CommonParameters>]
Internal function Checks if a variable exists, and if it does then it drops and creates a new one. Used where we need to create a new variable, or where data type and value have changed at same time (easier to drop and re-create when this has occured).
See PublishSsisVariables for full context
New-SsisVariable -sqlConn $sqlConnection -ssisVar $ssisVariable -ssisProp $ssisProperties
connection to SSIS Server
Type: SqlConnection
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The target variable we want to create/re-create
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The properties (ie folder/project/environment name)
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.