Running a powershell script as an external tool in IntelliJ

已回答

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

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

1

请先登录再写评论。