Convert Powershell to Exe

MrFlinstone 506 Reputation points
2021-03-17T11:42:13.037+00:00

I am trying to convert a Ps script to an exe, does anyone know of a utility that can do this. The research I have done point to old scripts that are no longer available.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,456 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 34,191 Reputation points Microsoft Vendor
    2021-03-17T12:15:10.94+00:00

    Hi @MrFlinstone ,

    The ps2exe module could be helpful

    https://www.powershellgallery.com/packages/ps2exe

    Best Regards,
    Ian Xue

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    4 people found this answer helpful.

  2. Dmitry Poskrebushev 1 Reputation point
    2022-12-19T20:49:48.687+00:00

    Recently created an application that can convert PowerShell to exe in a couple of clicks :)
    You can download the PowerShell to exe/msi converter at
    Microsoft Store: https://apps.microsoft.com/store/detail/powershell-to-exemsi-converter-free/XPDCHZH119SRT8
    Web site: https://www.silentinstall.org/powershell-to-exe/

    And many create their own solutions.
    Another example https://www.majorgeeks.com/files/details/ps1_to_exe.html

    0 comments No comments

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more