external help file | online version | schema |
---|---|---|
platyPS-help.xml |
2.0.0 |
Migrates markdown help files to the latest markdown help schema.
Update-MarkdownHelpSchema [-Path] <String[]> [-OutputFolder] <String> [[-Encoding] <Encoding>] [-Force]
[<CommonParameters>]
The Update-MarkdownHelpSchema cmdlet migrates markdown help files to the latest PlatyPS markdown help schema. We recommend you update to the latest schema.
Currently, there are two schemas: 1.0.0 and 2.0.0.
PS C:\> Update-MarkdownHelpSchema -Path ".\Examples\PSReadLine.dll-help.md" -OutputFolder ".\PSReadLine"
Directory: D:\Working\PlatyPS\PSReadLine
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 5/22/2016 8:47 PM 1410 Get-PSReadlineKeyHandler.md
-a---- 5/22/2016 8:47 PM 648 Get-PSReadlineOption.md
-a---- 5/22/2016 8:47 PM 4091 Set-PSReadlineKeyHandler.md
-a---- 5/22/2016 8:47 PM 10964 Set-PSReadlineOption.md
This commad upgrades the PSReadLine platyPS markdown to the latest version, which is currently 2.0.0.
Specifies the character encoding for your markdown help files. Specify a System.Text.Encoding object. For more information, see Character Encoding in the .NET Framework in the Microsoft Developer Network. For example, you can control Byte Order Mark (BOM) preferences. For more information, see Using PowerShell to write a file in UTF-8 without the BOM at the Stack Overflow community.
Type: Encoding
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates that this cmdlet overwrites existing files that have the same names.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the folder where this cmdlet saves updated markdown help files.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies an array of paths of markdown files and folders to update.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
You can pipe an array of paths to this cmdlet.
This cmdlet returns a FileInfo[] object for updated files.