Forum Discussion
DBarnhart
Sep 17, 2019Copper Contributor
Convert power shell script to exe
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.
Wayne74
Sep 18, 2019Copper Contributor
DBarnhart I havent tried it, but here are some links that may be of use:
https://gallery.technet.microsoft.com/scriptcenter/PS2EXE-GUI-Convert-e7cb69d5
https://www.sapien.com/software/powershell_studio
http://www.powertheshell.com/isesteroids2-2/ordering-isesteroids/
- DBarnhartSep 18, 2019Copper ContributorI have looked and tried the first 2 links before I posted on here. The third link does not help me.
- Wayne74Sep 19, 2019Copper Contributor
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.