PS2EXE.Core
0.4.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
Owners
Copyright
(c) Fabien Tschanz 2025
Package Details
Author(s)
- Fabien Tschanz
Tags
Compiler Core PS2EXE.Core Executable PowerShell ps2exe Win-PS2EXE
Functions
Dependencies
This module has no dependencies.
Release Notes
# Version 0.4.0
* Added PowerShell and .NET SDK autodetect behavior.
* Added script validation before compilation.
* Fixed an issue where using System.Windows.Forms dialogs in PowerShell Core
would fail because the namespace is not available.
* Fixed an issue where compiling a script with the same name multiple times
would not include the latest changes to the script.
* Improved cross-platform compilation support.
# 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
- PS2EXE.Core.nuspec
- base.csproj
- main.cs
- PS2EXE.Core.psd1
- PS2EXE.Core.psm1
- Variables.json
- Win-PS2EXE.exe
Version History
Version | Downloads | Last updated |
---|---|---|
0.4.0 (current version) | 22 | 8/30/2025 |
0.3.0 | 45 | 8/6/2025 |
0.2.0 | 9 | 8/5/2025 |
0.1.0 | 15 | 8/4/2025 |