Forum Discussion

DBarnhart's avatar
DBarnhart
Copper Contributor
Sep 17, 2019

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.

3 Replies

  • Wayne74's avatar
    Wayne74
    Copper 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/

     

     

     

     

    • DBarnhart's avatar
      DBarnhart
      Copper Contributor
      I have looked and tried the first 2 links before I posted on here. The third link does not help me.
      • Wayne74's avatar
        Wayne74
        Copper 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.

Resources