Monday, November 15, 2010

Posting PowerShell Snippets Using Windows Live Writer

Lately I’ve been trying to find the best method of posting PowerShell snippets using LiveWriter.  So far the best method I’ve found is a script from PowerShell guru Lee Holmes.

The only tricks to it are:

  1. Run the script from PowerShell ISE (instead of the command prompt)
  2. Use ‘Paste Special’ in Windows Live Writer (by default it removes the formatting)

Thanks to Lee my blog should start looking just a little bit prettier!

No comments: