Hi,
I have a Powershell executing packages in SSIS catalog.
More or less the same script than the following one : http://blogs.msdn.com/b/mattm/archive/2011/11/17/ssis-and-powershell-in-sql-server-2012.aspx?PageIndex=1#comments
I'm using an environment for executing all the packages in my project.
For only 2 parameters of this environment, at runtime, I'd like to be ale to override the value.
In my working Powershell, after I referenced my environment for execution I tried :
# setting value of parameter to constant $package.Parameters["Servername"].Set( [Microsoft.SqlServer.Management.IntegrationServices.ParameterInfo+ParameterValueType]::Literal,"Foobar"); $package.Alter()
Before it's not working.
Any idea ?
Thanks for your help,
Bertrandr