Details
-
Suggestion
-
Resolution: Fixed
-
None
Description
It's quite simple: in Script Task's configuration there's a new checkbox 'Run as Powershell script'.
If you check it the script is run with powershell instead of cmd.exe (the latter interprets .bat files)
Inline editor supports powershell syntax.
Under the hood, the following command is run:
powershell -ExecutionPolicy bypass -Command script_name [script_options]