A few things to note.
Powershell is in unlimited mode, so ExecutionPolicy
no bypass is required. It succeeds when I hardcode the variable file name and then configure the argument below to Execute Process Task
.
@[User::Script_url] + " " + @[User::filename]
But as soon as I put this Execute Process Task
in Foreach loop container
to give a different file name, nothing happens, except that powershell opens and then quickly closes for the number of files in this directory ... which suggests that it loads the variable to the parameter, but doesn't actually execute powershell script with every file name.
source
share