-
-
Notifications
You must be signed in to change notification settings - Fork 4
ConvertTo MAML
Converts command help to MAML
Converts command help to MAML (Microsoft Assistance Markup Language).
ConvertTo-Maml -Name ConvertTo-Maml
Get-Command ConvertTo-Maml | ConvertTo-Maml
ConvertTo-Maml -Name ConvertTo-Maml -Compact
ConvertTo-Maml -Name ConvertTo-Maml -XML
The name of or more commands.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String[]] |
false | 1 | true (ByPropertyName) |
The name of one or more modules.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[String[]] |
false | named | true (ByPropertyName) |
The CommandInfo object (returned from Get-Command).
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[CommandInfo[]] |
true | named | true (ByValue) |
If set, the generated MAML will be compact (no extra whitespace or indentation). If not set, the MAML will be indented.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
If set, will return the MAML as an XmlDocument. The default is to return the MAML as a string.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
If set, the generate MAML will not contain a version number.
This slightly reduces the size of the MAML file, and reduces the rate of changes in the MAML file.
Type | Requried | Postion | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
[Management.Automation.CommandInfo] Accepts a command
[String] The MAML, as a String. This is the default.
[Xml] The MAML, as an XmlDocument (when -XML is passed in)
ConvertTo-MAML [-Compact] [-XML] [-NoVersion] [<CommonParameters>]
ConvertTo-MAML [[-Name] <String[]>] [-Compact] [-XML] [-NoVersion] [<CommonParameters>]
ConvertTo-MAML [-Module <String[]>] [-Compact] [-XML] [-NoVersion] [<CommonParameters>]
ConvertTo-MAML -CommandInfo <CommandInfo[]> [-Compact] [-XML] [-NoVersion] [<CommonParameters>]
Adding a footer
Testing if custom sidebar overrides automatic