Archive for October 22nd, 2010

Formatted PowerShell everywhere

Getting PowerShell scripts with syntax highlight and line numbers into your blog, Word document or Outlook email is now easier than ever before! Once you download Karl Mitschke‘s Copy to Colorized HTML add-on, extract it to the modules folder and select it in the PowerShell Libraries dialog box, you’ll get Edit / Copy As / Colorized HTML (Ctrl-H) command  added to PowerGUI Script Editor menu.

Select the script, click the command, then paste the code into your email, document or other rich text control editor such as Live Writer.

Note, that this add-on is different from the native Copy As / HTML functionality which puts into clipboard plain text with HTML tags – this you would paste into HTML editing window of your blog, Karl’s add-on output – into a rich text editor. Nice complementary pieces of functionality. Now we got everything covered!

Karl’s add-on is participating in the PowerGUI Challenge 2010. Got a great add-on idea? Take part in the contest!


My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

October 2010
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

%d bloggers like this: