Convert power shell script to exe

Copper Contributor

I have a Powershell script and I would like to convert it to en exe. If not an exe file, I will need a way to run it as an administrator. This script is used to install the VPN connection.

3 Replies
I have looked and tried the first 2 links before I posted on here. The third link does not help me.

I don't understand sorry?  You asked for something to convert a script to an exe.  I downloaded the first one (PS2EXE-GUI) and was able to convert a script of mine to an exe without issue?


BTW the last has a component called EXE Generator from what I can see.  Its a set of enhancements for PowerShell ISE. With that said thats just from a search on their site, i havent tested it.