November 25, 2024 at 5:43 am
Hi everyone
I have a PowerShell script that is run by Execute Process Task in SSIS. Each time I run the task I get a black windows prompt screen appearing. Is it possible to hide that? I found one solution online saying to change WindowStyle option in Execute Process Task to hidden but that doesn't work. The black window still appears.
Thank you
November 25, 2024 at 9:11 am
This is nothing to worry about. After deploying your package to a server, no one will be there to see the dialog box during execution.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
November 25, 2024 at 4:19 pm
I actually run the SSIS package within VS so I can monitor it for any issues so I am watching those black screens pop up.
November 25, 2024 at 4:35 pm
I don't think there's a way to hide it, so you might have to tolerate it. Or embark on a rewrite.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
December 4, 2024 at 1:43 pm
How are you specifying to run PowerShell, as a scripting task? Spitballing here, but could you run it as an Execute Process Task, with powershell.exe as the executable? Then in arguments, "-WindowStyle hidden".
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply