Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Execute Process Task quote encloses arguments

$
0
0

Is there any way to not have SSIS Exceute Process Task quote enclose the arguments?

This is what the script task is echoing out to me via DTS.Events.FireInformation method - it is in the format I need.

-File "C:\Development\KP Integration\KP Integration\ADExport.ps1" "C:\Test\ADUsers.csv"

By the time the Execute Task Component consumes it, it quotes the entire expression. There is a prefix " before -File and a suffix quote at the end of the statement as shown below.

[Execute Process Task] Error: In Executing "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe""-File"C:\Development\KP Integration\KP Integration\ADExport.ps1" "C:\Test\ADUsers.csv"" 

Again, I've verified quotes are in the right places for the arguments, but the script component seems to want to qualify the entire argument string as one long string and not take the value as is, which is causing an exception

Thanks,

Morgan


Viewing all articles
Browse latest Browse all 24688

Trending Articles