views:

127

answers:

3

Is ist possible to create a executable .exe file from a PowerShell Script?

+1  A: 

PrimalScript from Sapien will generate an exe from a PowerShell script. The machine one which the executable is run must have PowerShell installed.

Chad Miller
+3  A: 

Out of the box - no. However I have built a PowerShell script that can take a script and create an EXE wrapper around it. I created this script a while ago but decided to blog it here for folks to check out.

Keith Hill
A: 

There's a project called Portable PowerShell that is still in beta after a couple of years ... might be worth looking at for your needs.

http://shelltools.wik.is/Portable_PowerShell

Trevor Sullivan