Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run a Poweshell script in an inline-script step #1110

Open
gian4820 opened this issue Oct 28, 2022 · 0 comments
Open

How to run a Poweshell script in an inline-script step #1110

gian4820 opened this issue Oct 28, 2022 · 0 comments

Comments

@gian4820
Copy link
Contributor

Describe the bug
If you configure in the PyWinRm Node executor, with shell: powershell, and you run an inline script step whitout any invocation string, and file extension, the script will run in CMD.exe.
image

Would be clear for customers, to have more information about how to run a Powershell script like adding examples using the invocation string, and file extenion, like this:
Invocation string=powershell.exe
File extension=ps1
image

Source page
https://docs.rundeck.com/docs/manual/node-steps/builtin.html#script-step
https://docs.rundeck.com/docs/manual/projects/node-execution/powershell.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant