Wrapping Powershell PS1 into EXE
Have you ever wanted to convert a ps1 to an exe? I have! I found this wrapper coded by Keith Hill.
I find it very useful!
First you need to download the PSCX module for Powershell.
You can download it here.
Now download the wrapper.
You can download it here.
Unzip the PSCX module and import it.
Import-Module Pscx
And use the wrapper like this:
.\Make-PS1ExeWrapper.ps1 .\YourScript.ps1 .\NewFile.exe .\YourIcon.ico
I find it very useful!
First you need to download the PSCX module for Powershell.
You can download it here.
Now download the wrapper.
You can download it here.
Unzip the PSCX module and import it.
Import-Module Pscx
And use the wrapper like this:
.\Make-PS1ExeWrapper.ps1 .\YourScript.ps1 .\NewFile.exe .\YourIcon.ico
No comments:
Post a Comment