PS2EXE.Core

0.3.0

Compiles Powershell scripts to executables. Overworking of the great script of Ingo Karstein with GUI support.
'Invoke-PS2EXE script.ps1' (or 'ps2exe script.ps1') compiles to script.exe. Several control parameters available.
Or use Win-PS2EXE as a graphical front end to the compiler.

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PS2EXE.Core

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PS2EXE.Core

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Fabien Tschanz 2025

Package Details

Author(s)

  • Fabien Tschanz

Tags

Compiler Core Executable PowerShell ps2exe Win-PS2EXE

Functions

Invoke-PS2EXE

Dependencies

This module has no dependencies.

Release Notes

# Version 0.3.0
* Added support for single file publishing with the -PublishSingleFile switch.

# Version 0.2.0
* Refactor C# file to use preprocessor directives instead of string replacements.
* Added error message if compiling for Windows PowerShell on non-Windows platform.

# Version 0.1.0
* Initial release of PS2EXE.Core.

FileList

Version History

Version Downloads Last updated
0.3.0 (current version) 1 8/6/2025
0.2.0 6 8/5/2025
0.1.0 13 8/4/2025