Running a powershell script as an external tool in IntelliJ

Answered

Is it possible to run a powershell script as an external tool? When I try this, I get the error "is not a valid Win32 executable".

I know there's the workaround of running a .bat file that executes the script, but it seems inelegant.

1
1 comment

You should specify power shell executable (powershell.exe) in the Program field and your script in Arguments.

1

Please sign in to leave a comment.