Convert PowerShell script to exe

Matthew picture Matthew · Jan 19, 2018 · Viewed 49.6k times · Source

I'm looking to convert a PS1 file to an .exe file so I can roll it out to less technical users.

I believe it'll be much easier for them if all they need to do is double-click it vs explaining how to run through PowerShell.

How can I achieve this?

image

Answer

Manu picture Manu · Jan 19, 2018

Use PS2EXE-GUI instead of this online tool that forces you to upload your script and creates a security breach if you have confidential information inside your script.