Skip to content

Winrm-ps-script #5712

Discussion options

You must be logged in to vote

The env sets environment variables, so your powershell script would need to read the values as environment variables rather than arguments.

Parameters to the script should be specified in the action's parameters: see https://docs.stackstorm.com/actions.html#update-argument-parsing-in-the-script. Although the example is for a bash script, the same method should be able to use to send parameters for winrm-ps-script as well.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mohit-singhal14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants