Archive for August 18th, 2008

Out-Wiki

How do you publish your cmdlets help online without duplicating the effort? I created this relatively straight-forward Out-Wiki function which I used to generate all the pages in the QAD cmdlets online reference. Today I finally found time to upload the script to the PowerShell code repository so it is now available for anyone to use.

Just change the name of the PowerShell snapin in the invocation line:

Out-Wiki (Get-Command -PSSnapin Quest.ActiveRoles.ADManagement) c:\Temp\QADHelp

And in a minute you have all the wiki pages in MediaWiki (the wikipedia engine) wikitext format generated for you!

The script was inspired by Antonio’s New-HtmlHelp.

You can search for out-wiki in your PowerGUI Script Editor or grab it online here.

Tags: , , , ,


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

August 2008
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

%d bloggers like this: