Adds type data to the current session.
The Add-TypeData command adds type data to the current session.
The Format XML Document. The XML document can be supplied directly, but it’s easier to use Write-FormatView to create it
Type | Required | Position | PipelineInput |
---|---|---|---|
[XmlDocument] |
true | 1 | true (ByValue) |
The name of the format module. If the name is not provided, the name of the module will be the first type name encountered. If no typename is encountered, the name of the module will be FormatModuleN, where N is the number of modules loaded so far
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 2 | false |
If set, the module that contains the format files will be outputted to the pipeline
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
Add-TypeData [-TypeXml] <XmlDocument> [[-Name] <String>] [-PassThru] [<CommonParameters>]