Blogroll

Search

PowerShell running in Dotnet 4

June 26th, 2010 by Karl

Back in the Dotnet 4, VS.NET 2010 Beta days i threw together a PowerShell console host compiled against dotnet 4 but really didn’t do anything with it. It seems that there is a bit of demand for it. So here it is. You canĀ download it and start using it.

It at least allows you to interact with dotnet 4 code in-process. Its not going to turn PowerShell into a dotnet 4.0 citizen as really PowerShell is in what I call “Dotnet 1.9″ style. Its going to be very awkward to interact with Dotnet 4 dynamic objects without some nice helpers but at least it IS possible.

Also I very much doubt that this will be able to be used as a remoting server. However you could have a dotnet 2, PS V2 runspace call this to do some processing. Tedious but at least possible.
Background jobs also aren’t going to run in Dotnet 4, though they possibly may if you manage to rename the original powershell.exe and put this one in its place. I know on windows 7 the ability to do is locked down, but it might be possible on other OSes.

All Command line options should work other than Console files.

Download NOW!!!

Notice the CLR version above?

Download NOW!!!

Just download it, and if with IE make sure you “unblock” the zip, then unzip it and run it anywhere you have PowerShell V2 installed. Enjoy.

Thanks to @jstangroome on twitter to helping motivate me get this out.

Karl Prosser / ShellTools LLC.

Posted in Powershell | 2 Comments »

Portable PowerShell with Portable PowerShell ISE.

June 16th, 2010 by Karl

After a long fight we finally conquered making PowerShell ISE portable also.

Portable ISE

A new Beta of Portable PowerShell should be out by the end of the week that has ISE support and to celebrate we will open up the Beta group to another 100 users.

Go to http://groups.google.com/group/portable-powershell-beta to sign up to the google group. However be aware that the introduction words contain old info , and some bug in google groups is preventing me from updating it, however we’ll send out emails with the relevant information in it.

Posted in Portable PowerShell, Powershell, Shell Tools | 1 Comment »