Skip to Main Content
Learn PowerShell Core 6.0
book

Learn PowerShell Core 6.0

by David das Neves, Jan-Hendrik Peters
July 2018
Beginner content levelBeginner
552 pages
13h 18m
English
Packt Publishing
Content preview from Learn PowerShell Core 6.0

Documentation with PlatyPS

If you want to seamlessly integrate documentation into your code, the PowerShell module PlatyPS might be helpful. We will revisit it when we create our own module release pipeline. PlatyPS allows you to create markdown-based help for your code as well as the generic about topics:

# The PlatyPS module makes generating help a breezeSet-Location .\Ch10Install-Module PlatyPS -Force -Scope CurrentUser# If you want, review the module code firstGet-Content .\VoiceCommands\VoiceCommands.psd1Get-Content .\VoiceCommands\VoiceCommands.psm1# For an existing module, generate help# WithModulePage generates an additional landing pageImport-Module .\VoiceCommands$param = @{    Module = 'VoiceCommands'    WithModulePage = $true OutputFolder ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PowerShell and WMI

PowerShell and WMI

Richard Siddaway

Publisher Resources

ISBN: 9781788838986Supplemental Content