HelpOut

Get-MAML

Synopsis

Gets MAML help


Description

Gets help for a given command, as MAML (Microsoft Assistance Markup Language) xml.



Examples

EXAMPLE 1

Get-MAML -Name Get-MAML

EXAMPLE 2

Get-Command Get-MAML | Get-MAML

EXAMPLE 3

Get-MAML -Name Get-MAML -Compact

EXAMPLE 4

Get-MAML -Name Get-MAML -XML

Parameters

Name

The name of or more commands.

Type Required Position PipelineInput
[String[]] false 1 true (ByPropertyName)

Module

The name of one or more modules.

Type Required Position PipelineInput
[String[]] false named true (ByPropertyName)

CommandInfo

The CommandInfo object (returned from Get-Command).

Type Required Position PipelineInput
[CommandInfo[]] true named true (ByValue)

Compact

If set, the generated MAML will be compact (no extra whitespace or indentation). If not set, the MAML will be indented.

Type Required Position PipelineInput
[Switch] false named true (ByPropertyName)

XML

If set, will return the MAML as an XmlDocument. The default is to return the MAML as a string.

Type Required Position PipelineInput
[Switch] false named true (ByPropertyName)

NoVersion

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 Required Position PipelineInput Aliases
[Switch] false named true (ByPropertyName) Unversioned

SkipCommandType

A list of command types to skip. If not provided, all types of commands from the module will be saved as a markdown document. Valid Values:

Type Required Position PipelineInput Aliases
[CommandTypes[]] false named true (ByPropertyName) SkipCommandTypes
ExcludeCommandType
ExcludeCommandTypes

IncludeAlias

If set, will include aliases in the MAML output.

Type Required Position PipelineInput Aliases
[Switch] false named true (ByPropertyName) IncludeAliases

Inputs

[Management.Automation.CommandInfo] Accepts a command


Outputs


Syntax

Get-MAML [-Compact] [-XML] [-NoVersion] [-SkipCommandType {Alias | Function | Filter | Cmdlet | ExternalScript | Application | Script | Configuration | All}] [-IncludeAlias] [<CommonParameters>]
Get-MAML [[-Name] <String[]>] [-Compact] [-XML] [-NoVersion] [-SkipCommandType {Alias | Function | Filter | Cmdlet | ExternalScript | Application | Script | Configuration | All}] [-IncludeAlias] [<CommonParameters>]
Get-MAML [-Module <String[]>] [-Compact] [-XML] [-NoVersion] [-SkipCommandType {Alias | Function | Filter | Cmdlet | ExternalScript | Application | Script | Configuration | All}] [-IncludeAlias] [<CommonParameters>]
Get-MAML -CommandInfo <CommandInfo[]> [-Compact] [-XML] [-NoVersion] [-SkipCommandType {Alias | Function | Filter | Cmdlet | ExternalScript | Application | Script | Configuration | All}] [-IncludeAlias] [<CommonParameters>]