1

I have a SSIS package and I need to run Powershell to get some data. I used an Excute Process Task in SSIS and put C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe in executable and it works perfectly. Now I want to set up a variable to get the work done. I created a variable and put the datatype strin and set the value as C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe.

Then I went to expressions in the Executable Process task and make it 'executable' and put @[User::Powershell_Location] there. But I don't know what should I put in the Executable in process menu.

1
  • what is driving the decision to use PowerShell to get data rather the SSIS tools themselves? Commented Sep 25, 2015 at 18:28

1 Answer 1

1

You need to go to the expression tab of Execute Process Task Editor and then assign an expression to 'Executable' and optionally to 'Arguments', if you have any arguments to pass in. See attached

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.