PowerShell Library and PowerExe Builder updated (again!)

This evening the PowerShell Library was updated to version 5.2.5.0. Use Update-SPELComponents to update, then restart PowerShell.

  • Added support for icons for PowerExe Builder and changed infrastructure for SelfHostedPS Icons to handle raw images instead of temp files.
  • Removed support for commandline arguments as introduced in 5.1.0.0 (manually specifying arguments, manifested as variables inside the running application)
  • Added support for standard parameter sections: PARAM. It supports all data type attributes for all .net built in primitives, mandatory parameter setting, and the parameter name and help message attributes. It will however try honoring all unkown data types but will warn when building if not supported and it might not work.

Also, PowerExe Builder, have been updated (to 1.1.0.0) to reflect the above changes. This can be most noted in that the parameter setup windows have been removed as this magic now is done in the background by the library at runtime and no manual intervention is needed. Also two minor cosmetic bug fixes have been implemented.

PowerExeBuilder_1.1.0.0

 

Announcing PowerExe Builder

Today I have the great pleasure of announcing a stand-alone version of the SelfHostedPS parts of my PowerShell Library. It has a nice GUI and everything you need to produce simple EXE files from PowerShell scripts. Some features are not yet supported if you compare the two edition but as this basically lives on-top of the PowerShell Library features will be added moving ahead, and some unique features such as automatic parameter mapping will be added in future versions.

PowerExeBuilder

Version 1.0.0.0 released here.

An golden oldie – RunAsEx

They say statistics never lie. Until last year when I brought the download down, some 25.000 downloads had been recorded for the RunAsEx utility I had written. I also get a couple of emails every month asking me to release the RunAsEx source or binary. I have for a long time refused as I do not think it adheres to any good security practices. However I do recognize that sometimes you need a quick and easy replacement that does that little extra thing. So once again it is now online for download, and this time I have released the source also! The tool was originally published back in 2011 and the code is basically the same today but I had to re-sign it with my new code signing certificate as it was signed with an very old key. Uses .NET 2.0 framework. Enjoy!

Read more about Sorlov.UserExec (RunAsEx)

Sorlov.PowerShell rebranding and re-launch

Today I have the pleasure of releasing Generation 5 of my library Sorlov.Powershell, now rebranded to SPEL (Sorlov Powershell Extension Library). Many internal components have been revamped. Integration and need for third party components have all but some been removed and the library now do not contain functionality found in stock PowerShell as the PowerShell evolution have been moving forward.

The major functionality is still self-hosted PowerShell exe-files, services, and not to mention the support for HTA-based PowerShell scripts.

This new version also breaks updating since a new model is in place; it still supports the same configuration files but you need to manually remove the old
version to install the new version (ie delete all binaries under \WindowsPowerShell\Modules\Sorlov.PowerShell or where you have installed it) and then run the installer.

Read more and download from the SPEL information page.