July 2007 - Posts

Loading external poweshell dll / dlls

If you want to use an external .Net lib in powershell, here is a simple example... 

$lib="C:\yael\YaelExample\bin\Debug\zrlabs.Yael.BasicFilters.dll"
[Reflection.Assembly]::LoadFrom($lib);
[System.Reflection.Assembly]::Load("System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
$img = [System.Drawing.Bitmap]::FromFile("c:/tempcat.jpg");
$textWaterMark = new-object zrlabs.Yael.BasicFilters.TextWatermarkFilter;
$transformedImage = $textWaterMark.ExecuteFilter($img);
$transformedImage.Save("c:/temp/cat_watermark.png");

Mostly a "note to self"...

Posted Saturday, July 14, 2007 10:49 PM by dotgrid | with no comments

Filed under:

Terminals - A WTS/Remote connector alternative

If your frequently connect remotely to Windows based servers , than the following product can make your job a little bit easier.

Instead of constantly mstsc-ing , you can simply use this tool to save connection profiles and connection groups ,it also supports connection tabs. Another nice feature is the "Connect to Console" check box (I wonder if they are ever going to automatically connect you to the console session if the 2 regular ones are occupied)
Download from here http://www.codeplex.com/Terminals/

[Update]: The full screen mode is a bit dodgy, and doesn't always work. To make sure it works properly, switch to full screen mode before you log in ..

 

Nice work Terminals guys!!

Roiy

Posted Wednesday, July 11, 2007 11:41 PM by dotgrid | with no comments