docs icon indicating copy to clipboard operation
docs copied to clipboard

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

Open gian4820 opened this issue 3 years ago • 0 comments

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

gian4820 avatar Oct 28 '22 02:10 gian4820