Make from a Powershell script an Exe file

I use this program to make scripts and easy added to Landesk. And it works for Windows 10.

Start iexpress

Click on Next

Click on Next

Enter a Title of the package and click on Next

Click on Next

Click on Next

Add the powershell script (*.ps1) and click on Next

Fill in at Install Program: powershell.exe -noprofile -Sta -executionpolicy bypass -File <Powershell scriptname.ps1>
And click on Next

Click on Next

Click on Next

Where to save the exe file. Click on browse. Select the options what you want and click on Next

When the install is done, do you want to reboot?
I always use No restart. Click on Next

Choose if you want to save the SED file and Click on Next.

Click on Next to create Package

The package is created. Click on Finish and test the application.

Create a reboot popup with Landesk

The problem what I had with Landesk, when software is installed I want to inform the user to reboot. This is not configured in Landesk.

I made this script that use landesk client on the system to create a popup for a reboot.

@echo off
echo --------------------------------------------------------
echo .
echo .
echo .                     Reboot
echo .         Window will close once installed



:: Wait for 20 seconds
ping -n 20 > NUL


REM Run Reboot
"C:\Program Files\LANDesk\LDClient\ldReboot.exe"



REM Run Reboot
"C:\Program Files (x86)\LANDesk\LDClient\ldReboot.exe"


REM Return exit code to SCCM
exit /B %EXIT_CODE%

Add this script to landesk as a program and you can use it every time when you need to inform the user to reboot.