Hello,
I want to convert/compile/package my powershell scripts to exe file.
Is there any free way to do it, and if not what kind of tool can I use to make it hapen?
Technology Tips and News
Hello,
I want to convert/compile/package my powershell scripts to exe file.
Is there any free way to do it, and if not what kind of tool can I use to make it hapen?
1) PrimalScript (www.primalscript.com) - Shareware
2) Write this script on C# - Free.
I have the primalscript, and I guess that I should use "script package" but I down know where I should take the manifest files.
About the C#, is there some code in C# that can compile the .ps1 to .exe you can share with me?
I have the primalscript, and I guess that I should use "script package" but I down know where I should take the manifest files.
About the C#, is there some code in C# that can compile the .ps1 to .exe you can share wi
unforunately I don't know c#.
can you help me with primalscript, how can I reach my goal please?
Check out this blog post:
http://rkeithhill.wordpress.com/2010/09/21/make-ps1exewrapper/
You can use callPS2EXE script from Codeplex project. Below is a quick example of doing this.
Example:
C:\Temp>echo Invoke-Item "C:\Windows\system32\notepad.exe" >> Invoke-Notepad.ps1
C:\Temp>type Invoke-Notepad.ps1
Invoke-Item "C:\Windows\system32\notepad.exe"
C:\Temp>
PS C:\Temp> .\callPS2EXE.bat ".\Invoke-Notepad.ps1" ".\Invoke-Notepad.exe" -x86 -noconsole
PS2EXE; v0.3.0.0 by Ingo Karstein (http://blog.karstein-consulting.com)
You are using PowerShell 3.0.
winexe
Reading input file C:\Temp\Invoke-Notepad.ps1
Compiling file
Output file C:\Temp\Invoke-Notepad.exe written
Config file for EXE created.
PS C:\Temp>
For more details refer: http://gunnalag.com/2013/06/04/converting-powershell-script-into-an-executableapplication/
Hi,
http://portal.sivarajan.com/2014/03/converting-powershell-ps1-to-exe.html
(direct link to download PowerGUI Script Editor)
http://en.community.dell.com/techcenter/powergui/m/bits/20439049
Works flawless!