Converting PowerShell script into an Executable/Application
Converting PowerShell script into an Executable/Application It’s very often need to convert a PowerShell script into an Executable/Application to hand over to third party without disclosing the source of your scripts. Here are few simple steps that lets you have this done: Download PS2EXE script from CodePlex project here. Have your script ready which you would like to convert into a standalone Executable/Application Run PS2EXE to have your script converted into an Executable/Application Example: Say you create a one line script that launches Notepad as shown below: C:Temp>echo Invoke-Item “C:Windowssystem32notepad.exe” >> Invoke-Notepad.ps1 C:Temp>type Invoke-Notepad.ps1 Invoke-Item “C:Windowssystem32notepad.exe” C:Temp> PS […]
Read more