ps2exe

1.0.13

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 -RequiredVersion 1.0.13

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

Install-PSResource -Name ps2exe -Version 1.0.13

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) Markus Scholtes 2023

Package Details

Author(s)

  • Markus Scholtes

Tags

Compiler ps2exe Executable Win-PS2EXE

Functions

Invoke-PS2EXE

Dependencies

This module has no dependencies.

Release Notes

# 1.0.13 / 2023-09-26
- now [ and ] are supported in directory name of script
- source file might be larger than 16 MB (for whoever that needs)
- new addtional parameter text field in Win-PS2EXE
# 1.0.12 / 2022-11-22
- new parameter -winFormsDPIAware to support scaling for WinForms in noConsole mode (only Windows 10 or up)
# 1.0.11 / 2021-11-21
- fixed password longer than 24 characters error
- new parameter -DPIAware to support scaling in noConsole mode
- new parameter -exitOnCancel to stop program execution on cancel in input boxes (only in noConsole mode)
# 1.0.10 / 2021-04-10
- parameter outputFile now accepts a target folder (without filename)
# 1.0.9 / 2021-02-28
- new parameter UNICODEEncoding to output as UNICODE
- changed parameter debug to prepareDebug
- finally dared to use advanced parameters
# 1.0.8 / 2020-10-24
- refactored
# 1.0.7 / 2020-08-21
- bug fix for simultanous progress bars in one pipeline
# 1.0.6 / 2020-08-10
- prompt for choice behaves like Powershell now (only for console mode)
- (limited) support for Powershell Core (starts Windows Powershell in the background)
- fixed processing of negative parameter values
- support for animated progress bars (noConsole mode only)
# 1.0.5 / 2020-07-11
- support for nested progress bars (noConsole mode only)
# 1.0.4 / 2020-04-19
- Application.EnableVisualStyles() as default for GUI applications, new parameter -noVisualStyles to prevent this
# 1.0.3 / 2020-02-15
- Ignore control keys in secure string request in console mode
# 1.0.1 / 2019-12-16
- Fixed "unlimited window width for GUI windows" issue in ps2exe.ps1 and Win-PS2EXE
# 1.0.0 / 2019-11-08
- First stable release
# 0.0.0 / 2019-09-15
- Experimental

FileList

Version History

Version Downloads Last updated
1.0.14 438,268 9/15/2024
1.0.13 (current version) 836,817 9/26/2023
1.0.12 175,364 11/26/2022
1.0.11 71,858 11/21/2021
1.0.10 35,630 4/11/2021
1.0.9 5,201 2/28/2021
1.0.8 4,858 10/24/2020
1.0.7 662 8/28/2020
1.0.6 559 8/10/2020
1.0.5 5,924 7/11/2020
1.0.4 4,258 4/20/2020
1.0.3 1,337 2/17/2020
1.0.1 839 12/16/2019
1.0.0 543 11/8/2019
0.0.0 643 9/15/2019
Show more