DEV Community

Cover image for PS1toEXE
Aravind V
Aravind V

Posted on โ€ข Edited on โ€ข Originally published at devpost.hashnode.dev

1 1

PS1toEXE

A tool to convert powershell script to exe and make the same execute in other windows machines without opening any script runner.

๐Ÿ’ฅ Reposting my old repo to the community

This was built by me several years ago, thought it would be nice to repost this to this new blog.

๐Ÿ”— Github Repo link

๐ŸŽฏ PS1toEXE

This PowerShell script lets you "convert" PowerShell scripts into EXE files modified and updated from ps2exe v0.5.0.0 to include support for powershell 5 with full features which is working in Windows 10

๐Ÿƒ How to execute this script

Open windows powershell

ps c:\> .\ps1toexe.ps1 -inputfile inputfilepath.ps1 outputfilepath.exe

and other necessary switches.

Besides this some of our contributes has built an export module as well ConvertTo-Exe, go and explore it which make this better now.

For more stuff like this follow our blog ๐Ÿ“ฎ Dev Post.

This repo is free to use and we are ready to refine with your contributions as well, so don't hesitate to raise โœ… pull request or comment in our blog post below ๐Ÿ”— @PS1toEXE. And also find our community reacts about PS1toEXE.

Thanks for supporting! ๐Ÿ™

Would be really great if you like to โ˜• Buy Me a Coffee, to help boost my efforts.

๐Ÿ” Original post at ๐Ÿ”— Dev Post

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs