There appears to be next to no documentation on how to use this task with an inline script. Can this be added please, along with GOOD examples, including how to pass VSTS and pipeline variables in, for both release AND build?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
May one use/call powershell module (.psm) functions out of this task?
What would be a correct approach to reuse powershell module out of vnext?
seems version 2 of this task doesnt allow arguments for inline script. version 1 has this capability however was limited to 500 characters.
How do I pick the .ps1 file to run in the release pipeline? It does not let me select the file from the GIT folder because it only sees the contents of the drop folder. And the drop folder only contains the files for the specific publish profile (ex: Dev/ QA/ Prod).
I would like for the examples to include a Yaml pipeline example with inline multiline Powershell, I never remember how to do that in Yaml and have to go to the graphical designer and generate Yaml for me from a Powershell task to see the syntax.
- powershell: |
# This is a multiline script
npx tsc -p src
Thank you for these suggestions. @vtbassmatt recently published several changes, but I see there are more things to do here. So I've added this issue to our backlog.