Would you like to learn how to convert a Powershell script to an EXE application? In this tutorial, we are going to show you how to create an EXE application from a PS1 script on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 11

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell - Convert PS1 scripts to EXE

Create a Powershell script.

Copy to Clipboard

Edit the Powershell script.

Copy to Clipboard

Here is our PS1 script.

Copy to Clipboard

Start the IEXPRESS application.

Iexpress - Windows

Select the option to create a new SED file.

Select the option to extract and run.

Iexpress - Extract and run

Enter a name to the application.

Iexpress - EXE Name

Click on the Next button.

Iexpress - Confirmation prompt

Click on the Next button.

Iexpress - Agreement

Add the Powershell script.

Iexpress - Convert Powershell PS1 to EXE

Enter the command to execute the Powershell script.

Iexpress - PS1 to EXE

Here is our command.

Copy to Clipboard

Select the option to show or hide the Window.

Iexpress - BAT to EXE Window

Click on the Next button.

Iexpress - Message

Enter the path to save the EXE application.

Iexpress - Convert to EXE

Select the option No restart.

Iexpress - Restart

Select the option Don't save.

Iexpress - SED

Create the EXE application.

Iexpress - Create EXE package

The system will convert the PS1 script to an executable.

Iexpress - Create EXE

Congratulations! You are able to convert a Powershell script to an EXE application on Windows.