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: Documentation, Examples, PowerShell, cmdlets, reference